This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {function;help;{embed;{embedbuild; | |
| title:Help for {exec;commandname;pastebin}; | |
| color:yellow; | |
| description:__**Usage**__: `{exec;commandname;pastebin} <text>` | |
| Uploads the input text to [qbin.io](https://qbin.io). {if;{guildid};==;96230004047740928;See `sudo info pastes` if your text is longer than 2000 characters.}}}} | |
| {if;{flagset;#};{func.help}; | |
| {if;{args};==;;{func.help}; | |
| {if;{lower;{args}};==;help;{func.help}; | |
| {delete} | |
| {fallback;{exec;fakeimg;Upload Failed.}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {exec;prefix.test} | |
| {//;Function to output help in plain text} | |
| {function;help;{embed;{embedbuild; | |
| author.name:Help for ticket; | |
| color:{exec;blurple}; | |
| description:__**Usage**__: `{prefix} ticket <arg>` | |
| Create and view tickets for the support channels. Tickets can only be posted to the support channels. | |
| **Available arguments** | |
| {repeat;`;3} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {exec;prefix.test} | |
| {//; Set the array here } | |
| {set;!~request;{clean;{jget;{request;http://cheat.sh/{if;{flag;_};!=;;{uriencode;{flag;_}};:list}?qT&style=bw};body}}} | |
| {if;{get;~request};startswith;{lb};{set;!~request;{jget;{get;~request};answer}}} | |
| {//;{set;~request;{clean;{regexreplace;{regexreplace;{jget;{request;http://cheat.sh/{if;{flag;_};!=;;{uriencode;{flag;_}};:list}?T};body};/(\[[0-9][0-9].[0-9].[0-9]m)/ug;};(\[[0-9][0-9]?m ?)/ug;}}}} | |
| {if;{get;~request};includes;Unknown topic.;{set;*bash.cht.failed;true};{set;*bash.cht.failed;false}} | |
| {set;!~arr;{regexsplit;{get;~request};/(\n)/g}} | |
| {set;!~arr;{filter;~item;{get;~arr};{regextest;{get;~item};/([a-zA-Z0-9])/g}}} | |
| {//; Set max items per page } | |
| {if;{flagset;l};{set;~items;{flag;l}};{set;~items;25}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {exec;prefix.test} | |
| {if;{lower;{args;0}};==;help;{embed;{embedbuild; | |
| title:Help for rules; | |
| color:yellow; | |
| description:__**Usage**__: `{exec;commandname;rules} [all|rule to show]` | |
| Displays a message telling someone to read <#172522057291005953>. Can also show the entire list of rules using the `all` argument or a specific rule from the list that matches the text input. | |
| **Examples**: | |
| {repeat;`;3} | |
| {exec;commandname;rules} all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {//;## | |
| Function that sends help output to #bot-spam if used in #customization by non-staff members. | |
| ##} | |
| {function;sshelp; | |
| {if;{channelid};==;173927645334077441; | |
| {if;{isstaff;{userid}}; | |
| {embed;{func.sshelpembed}}; | |
| {delete} | |
| {void;{send;174317464337776640;{usermention};{func.sshelpembed}}}}; | |
| {embed;{func.sshelpembed}}}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {if;{commandname};!=;_autoresponse_1; | |
| {exec;prefix.test}} | |
| {function;help;{embed;{embedbuild; | |
| title:Help for {exec;commandname;topic}; | |
| color:yellow; | |
| description:Get or set the topic for a channel. | |
| **Available arguments** | |
| {repeat;`;3} | |
| set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {if;{get;_last.winner};==;;{set;_last.winner;101464175481458688}} | |
| {switch;{lower;{flag;_}}; | |
| ["","help"];{embed;{embedbuild; | |
| title:Help for {exec;commandname;raffle}; | |
| color:cd5c5c; | |
| description:__**Usage**__: `{exec;commandname;raffle} <thing to raffle> [flags]` | |
| Sends an embed that allows users to enter a raffle by reacting to the message. The item to raffle must be specified as the first argument. | |
| **Available flags:** | |
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {function;nickshelp;{embed;{embedbuild; | |
| author.name:Help for {exec;commandname;usernicks}; | |
| color:yellow; | |
| description:__**Usage**__: `{exec;commandname;usernicks} [user]` | |
| Tracks and shows all nicknames that have been used by a given user. | |
| **Examples** | |
| {repeat;`;3} | |
| {exec;commandname;usernicks} {username;{randuser}} | |
| {exec;commandname;usernicks} {randuser} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {function;pollhelp;{embed;{embedbuild; | |
| author.name:Help for {exec;commandname;poll}; | |
| color:yellow; | |
| description:Creates a poll for the given question and duration. If no duration is given, defaults to 12 hours. | |
| **Available flags** | |
| {repeat;`;3} | |
| -t How long before the poll expires, formatted as '1d2h3m4s'. Defaults to 12 hours. | |
| -d Description for the poll. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {function;surveyhelp;{embed;{embedbuild; | |
| author.name:Help for {exec;commandname;survey}; | |
| color:yellow; | |
| description:Creates a survey for the given question and duration. If no duration is given, defaults to 12 hours. | |
| **Available flags** | |
| {repeat;`;3} | |
| -t How long before the survey expires, formatted as '1d2h3m4s'. Defaults to 12 hours. | |
| -d Description for the survey. |