Blog:Slate/KJ Bot Commands
Questions can be left on my talkpage or ask on the development server.
Avez-vous besoin du bot en français? Utilisez la commande !langue fr
. L'aide est disponible sur le serveur dev. Cliquez ici pour une invitation.
- I want the bot on my server!
Click here. To setup Splatoon rotations, use !register in the rotation room. To setup Splatoon 2 rotations, use !register2 in the rotation room. Other admin command found down the page.
Commands
Examples on this page assume a command prefix of !. This can be changed by the server owner using @kjbot prefix newPrefix.
All commands are cASe iNsenSiTIVe and should be prefixed with either a mention to kjbot (@kjbot#9443) or its command prefix (! by default).
- Modules
The bot splits its commands into modules. The following sub headers are module names. Modules can be enabled using !module allow name
or blocked using !module block name
. A list of modules that are blocked/allowed on your server can be listed by sending !module allow
(without specifying a module name). All modules can be blocked/allowed by using all in place of the module name, e.g. !module allow all
.
General Commands
English Command | French Command and Aliases | Parameters | Summary | Examples |
---|---|---|---|---|
Bubble | Text | Make the given text bubble symbols | !bubble bubble text | |
CAH | Draws a random Cards Against Humanity card. | !cah | ||
Card | Carte | Draws a random playing card. | !card | |
Choose | Choisir, choisis | List of items separated by space, or separated by 'or'. | Choose an option from all the given options. | !Choose A B C D !choose Pokémon Sun or Pokémon Moon !Choisis ヽ༼ຈل͜ຈ༽ノ ✔ |
Clarifai | whatis, explain | URL or embed and image | Query Clarifai to tag the given image. | !clarifai https://samples.clarifai.com/demo-1.jpg |
Coin | Pièce, Piece | Number of times to flip, 1 by default. | Flip a coin a given number of times. | !coin 2 |
Convert | conv | Text | Converts given measurement into other units (whatever makes sense) | !conv 8 mile !conv 3degf |
Dice | dé, de | Number of times to roll, 1 by default. | Roll a 6-sided die n times. | !dice 2 |
Dice (ndy) | n times, y sides on the die | Roll a y-sided die n times. | !2d20 | |
Flip | Retourner | Text | Flip the given text | !Flip flip me |
FullWidth | Big | Text | Make the given text full width | !big What |
GDocs | Gives a link to the Inkipedia Google Docs. | !GDocs | ||
Help | Aider | Posts a link to this page. | !help | |
Hug | Câlin, Calin, Hugs | None or the thing to hug | Hugs the specified thing. If nothing specified, hugs you. | !hug !hugs Nintendo |
Info | Posts name and id of the user, channel, and server. | !info | ||
Join | Invite | Post an invite link for the bot to join your server. | !join | |
Request | Demander | Message | PM Kjhf with a message, such as a suggestion or help required. | !request I need your help in MyServer! !request The bot needs more xyzzy! |
Rotation | s, Map(s), Schedule, Stage(s), étape, etape | Post the current Splatoon stage rotation. | !s | |
Mastermind | Difficulty modifier | Begins a game of Mastermind. | !mastermind !mastermind 2 | |
Random | aléatoire, aleatoire, rand | max | Generate a pseudo-random number from 0 to [max] | !random 10 |
Random | aléatoire, aleatoire, rand | min max | Generate a pseudo-random number from [min] to [max] | !random 100 200 |
Random | aléatoire, aleatoire, rand | mode or stage | Generate a pseudo-random Splatoon mode or stage | !random mode !random stage |
Splash | Posts a random Minecraft splash text. | !splash | ||
Square | Text | Makes a wrapping square out of the specified text | !square Text | |
TF2Craft | tfcraft | Item name | Post crafting requirements for a TF2 item. | !tfcraft Flying Guillotine |
Tiny | Text | Make the given text tiny | !tiny what | |
Type | Matchup, PokemonType | Any number of Pokemon types, or a Pokemon | Provides matchup details of the type or dual-type relative to other Pokemon types. | !type dark !type Normal Flying Fire !type water-steel !type all !type Lugia |
Word | Posts a random word. | !word | ||
YouTube | yt | Search terms | Search YouTube for a video matching your search and posts the first result. | !yt Rick Roll |
YouTubeRepeat | ytr | Search terms | Search YouTube for a video matching your search and post the first result as a video on YouTube on Repeat. | !ytr Vengaboys we like to party |
Magic 8 Balls
English Command | French Command and Aliases | Parameters | Summary | Examples |
---|---|---|---|---|
8ball | 8b | The question, or blank. | Ask Magic 8-ball a question. | !8ball Will I have good luck today? |
S8ball | s8b | The question, or blank. | Ask the Sarcastic/Sassy 8-ball a question. | !s8ball I'll have good luck today, right? |
Y8ball | y8b | The question, or blank. | Ask the Yoda 8-ball a question. | !y8ball Good luck today, will I have? |
Translation Commands
The bot is able to query Google Translate. Use !source>target message
where source is two letters denoting the source language, target is two letters denoting the target language, and message is the text to translate. e.g. to translate from English to Spanish, use en>es hello
. The two letter codes are the same two letters that Google Translate uses.
The following commands are also available:
English Command | French Command and Aliases | Parameters | Summary | Examples |
---|---|---|---|---|
Translate | translation | Message | Query Google translate to translate your text into French. | !translate hello there! |
Traduire | Message | Query Google translate to translate your text from French to English. | !traduire Traduit votre message du français vers l'anglais | |
de>en | Message | Query Google translate to translate your text from German (Deutch) to English. Replace de or en with different language codes for other languages. | !de>en Hallo, wie geht's dir? |
Image Commands
Manipulation and posting of images and artwork
English Command | French Command and Aliases | Parameters | Summary | Examples |
---|---|---|---|---|
Analyse | Analyze | URL or HEX colour or none | Analyses the image for its colour makeup and posts the most used colours. | !analyse http://cdn.wikimg.net/splatoonwiki/images/e/e3/NIWA_logo.png !analyse #ff2f5597 |
Ascii | URL or none | Posts ASCII art of the image specified by URL, or embedded attachment, or the last valid message. | !ascii http://cdn.wikimg.net/splatoonwiki/images/e/e3/NIWA_logo.png | |
Batman | URL or none | Transposes the specified image into a template Batman image | !batman http://cdn.wikimg.net/splatoonwiki/images/e/e3/NIWA_logo.png | |
Frame | URL or none | Transposes the specified image into a template frame image | !frame http://cdn.wikimg.net/splatoonwiki/images/e/e3/NIWA_logo.png | |
Manipulate | help | Manipulates the previous image | !manipulate help | |
Obabo | unitinu | URL or none | Splits an image in half and mirrors the left side onto the right per the "unitinu" meme. | !Obabo http://cdn.wikimg.net/splatoonwiki/images/e/e3/NIWA_logo.png |
Obabo-right | Amama, deted | URL or none | Splits an image in half and mirrors the right side onto the left per the "unitinu" meme. | !Amama http://cdn.wikimg.net/splatoonwiki/images/e/e3/NIWA_logo.png |
Spiderman | URL or none | Transposes the specified image into a template Spiderman image | !spiderman http://cdn.wikimg.net/splatoonwiki/images/e/e3/NIWA_logo.png | |
Trump | URL or none | Transposes the specified image into a template President Trump image | !trump http://cdn.wikimg.net/splatoonwiki/images/e/e3/NIWA_logo.png |
Calc Command
Full documentation of the !calc
command.
English Command | French Command and Aliases | Parameters | Summary | Examples |
---|---|---|---|---|
Calc | Cal, Math, Maths | See below. | This uses a script parser to work out mathematical statements. | !calc (2+2) - (3-1) * 5 !calc 22/7 !calc log(100)^2 !calc root(64) mod 3 !calc not(true or false) !calc 6 | 1 !calc expi !calc 2E-4 + 1E3 !calc floor(5.5) !calc 2*3 ; 3*2 |
The command supports:
- Addition (+)
- Subtraction (-)
- Multiplication (* or x)
- Division (/)
- Power (^ or ** or xx)
- Natural log (log)
- Square root (root sqr sqrt)
- Modulus/Remainder operation (% or mod)
- Basic Trigonometry (sin cos tan atan)
- Logic and Bit-wise (and or not, & | ¬, < > = ==)
- Constants (e c pi infinity)
- Scientific notation (e.g. 2E-10)
- Other functions (abs, fix, floor)
- Splitting of statements using ;
Number Base Commands
These commands change numbers into different number bases.
English Command | French Command and Aliases | Parameters | Summary | Examples |
---|---|---|---|---|
Base642dec | b642d, b642dec, 642d, 642dec | The Base 64 number(s) | Convert base 64 numbers into decimal. | !642d ZAAAAAAAAAA= |
Bin2Base64 | b264, b2b64, b2base64 | The binary number(s) | Convert binary numbers into base 64. | !b264 100 !b264 0 100 101 110101 |
Bin2Dec | b2d | The binary number(s) | Convert binary numbers into decimal. | !b2d 100 !b2d 0 100 101 110101 |
Bin2Hex | b2h | The binary number(s) | Convert binary numbers into hexadecimal. | !b2h 1001 !b2h 0 100 101 110101 |
Bin2Oct | b2o | The binary number(s) | Convert binary numbers into octal. | !b2o 1001 !b2o 0 100 101 110101 |
Dec2Base64 | d264, d2b64, base64, dec264 | The decimal number(s) | Convert decimal numbers into base 64. | !dec2base64 100 |
Dec2Bin | bin, binary, d2b | The decimal number(s) | Convert decimal numbers into binary. | !bin 100 !bin 0 255 160 119 |
Dec2Hex | hex, hexadecimal, d2h | The decimal number(s) | Convert decimal numbers into hexadecimal. Useful for RGB colours. | !hex 15 !hex 0 255 160 119 |
Dec2Oct | oct, octal, d2o | The decimal number(s) | Convert decimal numbers into octal. | !oct 15 !oct 0 255 160 119 |
Hex2Bin | h2b | The hexadecimal number(s) | Convert hexadecimal numbers into binary. | !h2b F !h2b 00 ff a0 77 |
Hex2Dec | dec, decimal, h2d | The hexadecimal number(s) | Convert hexadecimal numbers into decimal. Useful for RGB colours. | !dec F !dec 00 ff a0 77 |
Hex2Oct | h2o | The hexadecimal number(s) | Convert hexadecimal numbers into octal. | !h2o F !h2o 00 ff a0 77 |
Oct2Bin | o2b | The octal number(s) | Convert octal numbers into binary. | !o2b 77 !o2b 00 77 60 75 |
Oct2Dec | o2d | The octal number(s) | Convert octal numbers into decimal. | !o2d 77 !o2d 00 77 60 75 |
Oct2Hex | o2h | The octal number(s) | Convert octal numbers into hex. | !o2h 77 !o2h 00 77 60 75 |
Lookup Links
These commands fetch links to various websites as specified.
English Command | French Command and Aliases | Parameters | Summary | Examples |
---|---|---|---|---|
Bing | None or Search terms | Give a link to Bing. Optionally search. | !Bing Is Bing better than Google? | |
Bulbapedia | bulb | None or Search terms | Search Bulbapedia for the given text. | !bulb Snorlax |
DuckDuckGo | ddg | None or Search terms | Give a link to DuckDuckGo. Optionally search. | !ddg Why use DuckDuckGo instead of Google or Bing? |
Define | Définir, Definir | None or Search terms | Give a link to Google Define. Optionally search. | !define definition |
DKWiki | dk | None or Search terms | Search Donkey Kong Wiki for the given text. | !dk Diddy Kong |
DOOMWiki | Doom | None or Search terms | Search DOOMWiki for the given text. | !doom doom |
DragonQuest | dq, dqwiki | None or Search terms | Search Dragon Quest Wiki for the given text. | !dq Dragon Quest |
FZwiki | fz, fzero, mutecity | None or Search terms | Search F-Zero Wiki for the given text. | !fz Captain Falcon |
FireEmblem | fe, fewiki | None or Search terms | Search Fire Emblem Wiki for the given text. | !fe Ike |
Search | None or Search terms | Give a link to Google. Optionally search. | !Google Is Google better than Bing? | |
Googleim | Searchim | None or Search terms | Give a link to Google Images. Optionally search. | !Googleim cute cats |
Googlerim | reverseim, reverseimage | None or Search terms | Give a link to Reverse Search Google Images. Optionally search. | !Googlerim http://cdn.wikimg.net/splatoonwiki/images/e/e3/NIWA_logo.png |
GoldenSun | gs, gswiki | None or Search terms | Search Golden Sun Wiki for the given text. | !gs Golden Sun |
HardDrop | hd, hdwiki | None or Search terms | Search Hard Drop (Tetris) Wiki for the given text. | !hd Tetromino |
Icaruspedia | ip, icarus, kid, kidicarus | None or Search terms | Search Icaruspedia for the given text. | !ip Dark Pit |
Inkipedia | ink | None or Search terms | Search English Inkipedia for the given text. | !ink Squid Sisters |
Inkipédia | fr | None or Search terms | Search French Inkipedia for the given text. | !fr Sœurs Calamazones |
KHwiki | kh, kingdomhearts | None or Search terms | Search Kingdom Hearts Wiki for the given text. | !kh Sora |
LMGTFY | None or Search terms | Let me Google that for you. | !lmgtfy Google | |
LylatWiki | ly, sfw, lylat, starfox, starfoxwiki | None or Search terms | Search Lylat Wiki for the given text. | !ly Barrel Roll |
MinecraftWiki | mc, minecraft | None or Search terms | Search Minecraft Gamepedia Wiki for the given text. | !minecraft Crafting |
MetroidWiki | metroid | None or Search terms | Search Metroid Wiki for the given text. | !metroid Samus |
NIWA | niwawiki, central | None or Search terms | Search NIWA Central Wiki for the given text. | !niwa NintendoWiki:Coverage |
Nookipedia | np, animalcrossing, animalcrossingwiki | None or Search terms | Search Nookipedia for the given text. | !np Resetti |
Pikipedia | piki | None or Search terms | Search Pikipedia for the given text. | !piki Olimar |
PikminFanon | pf | None or Search terms | Search Pikmin Fanon Wiki for the given text. | !pf Olimar |
SmashWiki | smash | None or Search terms | Search Smash Wiki for the given text. | !smash Announcer |
StarfyWiki | starfy | None or Search terms | Search Starfy Wiki for the given text. | !starfy Starfy |
StrategyWiki | strat, strategy | None or Search terms | Search Strategy Wiki for the given text. | !strat Castlevania |
SuperMarioWiki | sm, smwiki, supermario | None or Search terms | Search Super Mario Wiki for the given text. | !sm Tick Tock Clock |
sw | None or Search terms | Search Smash, Splatoon, Starfy, and Strategy Wikis for the given text cause we couldn't decide what sw should be. | !sw Main Page | |
TF2 | None or Search terms | Search TF2 Wiki for the given text. Use !tf2craft for crafting recipe lookup. |
!tf2 Pyro | |
UrbanDictionary | ud | None or Search terms | Search Urban Dictionary for the given text. | !ud Example |
WarsWiki | wars | None or Search terms | Search Wars Wiki for the given text. | !wars Tank |
Wikipedia | wiki | None or Search terms | Search Wikipedia for the given text. | !wiki Example |
WolframAlpha | wa, wolfram | None or Search terms | Give a link to WolframAlpha. Optionally search. | !wa Answer to the Ultimate Question of Life, the Universe, and Everything. |
Wikibound | wb | None or Search terms | Search Wikibound for the given text. | !wb Lucus |
Wikirby | wk | None or Search terms | Search Wikirby for the given text. | !wk Dream Land |
Zeldawiki | zelda | None or Search terms | Search Zelda Wiki for the given text. | !zelda Navi |
Meme Commands
These commands are the bane of the Internet. Enjoy.
English Command | French Command and Aliases | Parameters | Summary | Examples |
---|---|---|---|---|
Ayy | ayyy, eyy | Posts a gun hands "ayy" expression. | !ayyy | |
Cheerleader | Fan | Posts a cheerleader line holding up a message. | !cheerleader You're the best! | |
Disapprove | Disapproval, Disappoint | Posts a disapproval expression. | !disapprove | |
Donger | Dongers, Raiseyourdongers | Posts a raise your dongers expression. | !donger | |
Doot | Posts :trumpet: Doot Doot :trumpet:. | !doot | ||
GoodShit | :100:, 💯 | Posts the Good Shit meme. | !GoodShit | |
Haiku | Posts a haiku from Half Life. | !Haiku | ||
Justright | Posts a just right face. | !justright | ||
Lenny | Posts a Lenny face. | !Lenny | ||
Mwah | Kiss | Posts a kiss face. | !kiss | |
Respect | Hommage, Respects, r, f | Posts [username] has paid their respects. | !f | |
Out | Posts ➝🚪 | !out | ||
Shrug | idk | Posts the shrug face. | !shrug | |
Smiley | smile | Posts a random smile. | !smile | |
Sunglasses | Posts a sunglasses face. | !sunglasses | ||
Woomy | Posts a random woomy. | !woomy |
Server Admin Commands
Only the server owner may use these commands.
English Command | French Command and Aliases | Parameters | Summary | Examples |
---|---|---|---|---|
AddJoinMessage | AddJoin | Message | Add a message for when a user joins the server. Multiple messages can be added, and one will be picked at random. The channel that the command is written in is the channel that the message is written to when a user joins or quits. |
!addjoin Hello %username%! Welcome to %servername%! |
AddQuitMessage | AddQuit | Message | Add a message for when a user leaves the server. Multiple messages can be added, and one will be picked at random. The channel that the command is written in is the channel that the message is written to when a user joins or quits. |
!addquit Goodbye %username%! |
CommandSymbol | symbol, prefix | Blank or New Symbol | View the symbol in use or changes the bot's command symbol prefix on the server. Anyone may use the !symbol command, but only the server owner may change it. |
!symbol !symbol > !symbol bot |
Clean | Prune | limit, sender tag, text terms | Deletes messages that matches the arguments. | !clean 100 !clean 1000 @bad_person !clean 1000 BadWord |
Language | Langue | en for English fr for French |
Changes the bot's language for the server. | !language en !langue fr |
ListMessages | Lists the join and quit messages for the server | !ListMessages | ||
Register | Registre | Registers the room you write the command in as a Splatoon rotation room. Kjbot will post Splatoon rotations here every 4 hours when they change. You may also request kjbot send you rotations in a private message by writing !register in a PM to kjbot. |
!register | |
Register2 | Registre2 | Registers the room you write the command in as a Splatoon 2 rotation room. Kjbot will post Splatoon 2 rotations and SplatNet merch here every 2 hours when they change. You may also request kjbot send you rotations in a private message by writing !register2 in a PM to kjbot. |
!register2 | |
RemoveJoinMessage | RemoveJoin | Message | Removes a join message from the server. | !removejoin Hello %username%! Welcome to %servername%! |
RemoveQuitMessage | RemoveQuit | Message | Removes a quit message from the server. | !removequit Goodbye %username%! |
Unregister | Désenregistrer, Desenregistrer, Deregister | Unregisters the room you write the command in as a rotation room. Kjbot will no longer post rotations here. |
!unregister |
Work In Progress
These commands are a work in progress. They may or may not work, and if they do, expect bugs. When they are stable, they will be moved to an above list.
- recipe/recette <Minecraft item> -- Post the recipe to make the specified Minecraft item.
- This command for the most part works, however there are known bugs for some items.
- pokemon/dex <Pokemon> -- Posts details about a Pokemon.
- This command for the most part works, however there may be bugs in fetching from Bulbapedia, and the bot may lag in retrieving data.
- ttt (Tic Tac Toe) - game otherwise known as Naughts and Crosses or 3-in-a-row. Use !ttt help.
- rps (Rock Paper Scissors) - use !rps help.
Achievements
The bot features an achievements system and will announce when you win an achievement. To view the achievements you have, write !achievement
.
The announcements will be made optional in a future update using the Module commands.
Credits
- kjbot is built using the Discord.NET library in C#.
- Splatoon rotations are fetched from the http://splatoon.ink API.
- The TF2Craft command searches the Official TF2 Wiki crafting page.
- The YouTube command uses the Google/YouTube API.
- kjbot's avatar is File:Judd artwork.jpg.
- Thanks to Alegria for translations to French.