gamerbot logo
gamerbot
latest
GitHub
TermsPrivacy

Commands

Goto:

/about

Source

Show info about the bot.


/apimessage

Source

Create a message from a JSON message payload.

Options

NameTypeRequired?Description
jsonstringJSON message data to create.

Examples

/apimessage
json:

{ "content": "Hello World!" }

Create a message with the content "Hello World!".

/apimessage
json:

{ "embeds": [{ "title": "Hello World!", "description": "foo bar baz" }] }

Create a message with an embed titled "Hello World!" with a description of "foo bar baz".


/avatar

Source

Show avatar for a user.

Options

NameTypeRequired?Description
useruserUser to show avatar for.

/ban

Source

Permanently ban a user from the server.

✅ Servers only
✅ Usage logged

User permissions required: BanMembers

Bot permissions required: BanMembers

Options

NameTypeRequired?Description
useruserUser to ban.
reasonstringBan reason.

Examples

/ban
user:@Frog
reason:

Spamming

Ban @Frog for spamming.

/ban
user:@Frog

Ban @Frog without a reason.


/character

Source

Show information about a single Unicode character. Characters can be specified by their code point (e.g. U+1F4A9, 1f4a9) or by the character itself (e.g. 💩, 笑, あ).

Some emojis are actually composed of multiple other characters, and thus are not supported.

Options

NameTypeRequired?Description
characterstringThe character to show information about.

Examples

/character
character:

🐶

Show information about the dog emoji.

/character
character:

Show information about the Chinese character 笑.


/color

Source

Get information about a color. Colors can be specified as hexadecimal (e.g. #ff0000), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0°, 100%, 50%)).

Options

NameTypeRequired?Description
colorstringThe color to get information about.

Examples

/color
color:

#0284c7

Get information about the color #0284c7.

/color
color:

rgb(2, 132, 199)

Get information about the color rgb(2, 132, 199).

/color
color:

hsl(200°, 98.01%, 39.41%)

Get information about the color hsl(200°, 98.01%, 39.41%).


/config

Source

Manage gamerbot server configuration. This command is only available to members with the MANAGE_GUILD permission.

✅ Servers only
✅ Usage logged

User permissions required: ManageGuild

Subcommands

/config enable-egg

Enable gamerbot egg reactions.

NameTypeRequired?Description
valuebooleanThe value to set the option to. Leave blank to view the current value.

Examples

/config
enable-egg

View the current value of the enable-egg option.

/config
enable-egg
value:

true

Enable egg reactions.


/connect4

Source

Play a game of connect four with someone.

Options

NameTypeRequired?Description
useruserThe user to duel.

Examples

/connect4
user:@Frog

Challenge @Frog to a game of connect four.


/cowsay

Source

Make the cow say the funny.

Options

NameTypeRequired?Description
textstringThe text to make the cow say.
cowstringThe cow to use.

Examples

/cowsay
text:

Hello

Make the cow say "Hello":

 _______
< Hello >
 -------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
/cowsay
text:

calcium

cow:

milk

Make a milk carton say "calcium":

 _________
< Calcium >
 ---------
 \     ____________
  \    |__________|
      /           /\
     /           /  \
    /___________/___/|
    |          |     |
    |  ==\ /== |     |
    |   o   o  | \ \ |
    |     <    |  \ \|
   /|          |   \ \
  / |  \_____/ |   / /
 / /|          |  / /|
/||\|          | /||\/
    -------------|
        | |    | |
       <__/    \__>

/dice

Source

Duel someone else in a game of liar's dice/swindlestones

Options

NameTypeRequired?Description
useruserThe user to duel.

Examples

/dice
user:@Frog

Challenge @Frog to a game of liar's dice.


/eggleaderboard

Source

Show top egg holders.

Options

NameTypeRequired?Description
typestringType of eggs.
useruserUser to show.

/flags

Source

Play a flag guessing game.


gamerbot logoGet avatarUSER CTX MENU

Source

Get the avatar of a user.


/joke

Source

Get a random joke from the internet.

Options

NameTypeRequired?Description
offensivebooleanAllow offensive jokes
categorystringThe category of joke to get

/kick

Source

Kick a user from the server.

✅ Servers only
✅ Usage logged

User permissions required: KickMembers

Bot permissions required: KickMembers

Options

NameTypeRequired?Description
useruserUser to kick.
reasonstringKick reason.

Examples

/kick
user:@Frog
reason:

Spamming

Kick @Frog for spamming.

/kick
user:@Frog

Kick @Frog without a reason.


/latex

Source

Render a TeX expression.

Options

NameTypeRequired?Description
expressionstringThe TeX expression to render.
widthintegerWidth of image in pixels; defaults to none (image width set by height).
heightintegerHeight of image in pixels; defaults to 100.
colorstringColor of text in the rendered image; defaults to #dcddde.
backgroundstringColor of the rendered image background; defaults to transparent.

Examples

/latex
latex:

\frac{1}{2}

Render the TeX expression that is the fraction 1/2.

/latex
latex:

E=mc^2

height:

200

Render the mass-energy equivalence formula E=mc^2, with a height of 200px.

/latex
latex:

\frac{1}{2\pi}\int_{-\infty}^{\infty}e^{-\frac{x^2}{2}}dx

color:

black

background:

white

Render the integral of a Gaussian function, as black text on a white background.


/lmgtfy

Source

Let me get that for you.

Options

NameTypeRequired?Description
querystringThe query to search for.
enginestringThe search engine to use.

/markov

Source

Generate a markov chain from all messages gamerbot has seen.

Options

NameTypeRequired?Description
connectionsstringGet the top completions for a specific word.
lengthintegerNumber of words to generate (2-200, default: 20).
seedstringA word to start the chain with (default: random).
guaranteedbooleanOnly chooses words that have connections to other words (chain will not end before given length).

/math

Source

Evaluate a mathematical expression.

Options

NameTypeRequired?Description
expressionstringThe expression to evaluate.

Examples

/math
expression:

1 + 1

Evaluate 1 + 1.

/math
expression:

(2^3)^2

Evaluate (2^3)^2.


/ping

Source

Pong!


/purge

Source

Delete the last <n> messages, or delete all messages up to a message.

✅ Servers only
✅ Usage logged

User permissions required: ManageMessages

Bot permissions required: ManageMessages

Options

NameTypeRequired?Description
nintegerNumber of messages to delete.
tostringDelete messages up to this message.

Examples

/purge
n:

150

Delete the last 150 messages in the current channel.

/purge
to:

939727204823220225

Delete every message in the current channel up to the message with ID 939727204823220225.


gamerbot logoPurge to hereMESSAGE CTX MENU

Source

Purge all messages newer than this message.

✅ Servers only
✅ Usage logged

User permissions required: ManageMessages

Bot permissions required: ManageMessages


/role

Source

Create a role distributor that can be used to assign roles to users. A maximum of 20 roles can be used.

✅ Servers only
✅ Usage logged

User permissions required: ManageRoles

Bot permissions required: ManageRoles

Options

NameTypeRequired?Description
role1roleRole to use.
role2roleRole to use, #2.
role3roleRole to use, #3.
role4roleRole to use, #4.
role5roleRole to use, #5.
role6roleRole to use, #6.
role7roleRole to use, #7.
role8roleRole to use, #8.
role9roleRole to use, #9.
role10roleRole to use, #10.
role11roleRole to use, #11.
role12roleRole to use, #12.
role13roleRole to use, #13.
role14roleRole to use, #14.
role15roleRole to use, #15.
role16roleRole to use, #16.
role17roleRole to use, #17.
role18roleRole to use, #18.
role19roleRole to use, #19.
role20roleRole to use, #20.

Examples

/role
role1:@Role 1
role2:@Role 2

Create a role distributor with two roles.


/rps

Source

Duel a user in rock paper scissors.

Options

NameTypeRequired?Description
useruserThe user to duel.
lizard-and-spockbooleanWhether to include lizard and spock.

Examples

/rps
user:@Frog

Challenge @Frog to rock paper scissors.


/run

Source

Run a snippet of code. Code will be run in a sandboxed environment. Input code is capped at 64 KiB, and stdout is capped at 64 KiB.

Options

NameTypeRequired?Description
languagestringThe language to run the code in.
versionstringThe version of the language to run the code in.
codestringThe code to run; if not provided, you will be asked to provide it.
code-fileattachmentA file with the code to run.
stdinstringstdin to provide to the program; specify ask-stdin instead to be prompted for it.
ask-stdinbooleanWhether to ask for stdin.
stdin-fileattachmentA file to use as stdin.
argsstringArguments to pass to the program, separated by spaces.
output-syntaxstringSyntax highlighting language for your code's output.

Examples

/run
language:

typescript

code:

console.log("Hello World!")

Run console.log("Hello World!") in TypeScript.

/run
language:

python

version:

3.10.0

stdin:

foo bar baz

args:

foo bar baz

Run a Python script with stdin and arguments (prompting for code).

/run
language:

go

code-file:

[attached file main.go]

stdin-file:

[attached file stdin.txt]

Run a Go program from an attached file with stdin from a file.

/run
language:

c++

ask-stdin:

true

output-format:

json

Run a C++ program and highlight the output as JSON (prompting for code and stdin).


/servericon

Source

Get icon for a server.

Options

NameTypeRequired?Description
serverstringServer to show icon for.

Examples

/servericon

Get icon for the current server.

/servericon
server:

222078108977594368

Show icon for server with ID 222078108977594368.


/serverinfo

Source

Get information about a server.

Options

NameTypeRequired?Description
serverstringServer to show info for.

Examples

/serverinfo

Get information about the current server.

/serverinfo
server:

222078108977594368

Show information about server with ID 222078108977594368.


/skin

Source

Display a Minecraft skin. Skins can be of type body (3D body render), head (3D head render), avatar (2d face), or skin (original skin texture). The default skin type is body render. Skins are fetched from visage.surgeplay.com, or crafatar.com if the use-craftar option is set.

Options

NameTypeRequired?Description
identifierstringUsername/UUID to get the skin of.
debugbooleanShow debug information.
typestringType of skin to get.
use-craftarbooleanUse https://crafatar.com to fetch skins.

Examples

/skin
identifier:

hypixel

type:

body

Display the 3D body render of the player with the username hypixel.

/skin
type:

avatar

use-craftar:

true

debug:

true

Display the 2d face for the current user (provided it was set by /username) from Crafatar with debug information.


/stats

Source

Show stats for Hypixel games.

Options

NameTypeRequired?Description
gamemodestringGamemode to get stats for.
usernamestringUsername/UUID to get stats for.
debugbooleanShow debug information.

Examples

/stats
gamemode:

bedwars

username:

ConnorLinfoot

Get Bedwars stats for ConnorLinfoot.

/stats
gamemode:

bedwars

Get Bedwars stats for yourself, provided you have set your username/UUID with /username.

/stats
gamemode:

bedwarsdream

username:

gamerboy80

debug:

true

Get Bedwars Dream stats for gamerboy80, with debug info.


/time

Source

Show info about times and time zones around the world.

Subcommands

/time epoch

Show epoch time.

/time world

Show times in common time zones around the world.

/time zoneinfo

Show info about a specific time zone.

NameTypeRequired?Description
zonestringThe time zone to show info about.

/time in

Show the time in a specific time zone.

NameTypeRequired?Description
zonestringThe time zone to show the time in.

Examples

/time
epoch

Show the current epoch time, e.g. 1644165981 seconds.

/time
world

Show common time zones around the world, e.g. America/Los_Angeles.

/time
zoneinfo
zone:

America/New_York

Show time zone info for America/New_York.

/time
in
time:

Europe/Berlin

Show the time in Europe/Berlin.


/timestamp

Source

Show timestamp of any Discord ID.

Options

NameTypeRequired?Description
idstringThe ID to get the timestamp of.

Examples

/timestamp
id:

939924992345374730

Show the timestamp of the Discord ID 939924992345374730, which is 2022-02-06T11:46:21.137-05:00.


/trivia

Source

Answer a trivia question. A category, difficulty, and type (true/false or multiple choice) can be specified.

Options

NameTypeRequired?Description
categoryintegerCategory of the question.
difficultystringDifficulty of the question.
typestringType of question

Examples

/trivia
category:

18: Science: Computers

difficulty:

Hard

Get a hard question about computers.

/trivia
difficulty:

Easy

type:

True/False

Get an easy true/false question.


/unban

Source

Unban a user.

✅ Servers only
✅ Usage logged

User permissions required: BanMembers

Bot permissions required: BanMembers

Options

NameTypeRequired?Description
useruserUser to ban.
reasonstringUnban reason.

Examples

/unban
user:@Frog
reason:

foo bar baz

Unban @Frog given a reason.

/unban
user:@Frog

Unban @Frog without a reason.


/uptime

Source

Show uptime of current server process/shard.


/urban

Source

Define a term using Urban Dictionary.

Options

NameTypeRequired?Description
termstringThe term to define.

/username

Source

Retrieve/modify your Minecraft username/UUID.

Subcommands

/username set

Set your Minecraft username/UUID.

NameTypeRequired?Description
identifierstringThe username/UUID to set.

/username get

Get a user's Minecraft username/UUID

NameTypeRequired?Description
useruserThe user to get the username/UUID of.

/username clear

Clear your Minecraft username/UUID.

Examples

/username
set
identifier:

ConnorLinfoot

Set your username to ConnorLinfoot.

/username
set
identifier:

12345678-1234-1234-1234-123456789012

Set your UUID to 12345678-1234-1234-1234-123456789012.

/username
get

Get your username/UUID.

/username
get
user:@Frog

Get @Frog's username/UUID.

/username
clear

Clear your username/UUID.


/wiki

Source

Search for and display a Wikipedia article.

Options

NameTypeRequired?Description
querystringThe search query.

/xkcd

Source

Display a link to a random xkcd comic, or a specific comic if specified.

Options

NameTypeRequired?Description
comicstringThe comic to get. If omitted, a random comic will be chosen.

Examples

/xkcd

Display a link to a random xkcd comic.

/xkcd
num:

123

Display https://xkcd.com/123.