Commands
The server’s own commands for the YAGPDB.xyz bot. Most are slash commands: type / in a
channel and Discord offers the bot’s commands as you type — pick one and fill in its fields.
A few aren’t typed at all: their entries show the message that fires them instead (a #
color code, a channel mention, a 👍). And two — /hugemoji and /avatar_viewer — are still
typed as ordinary messages: Discord’s list has no match for them, so your message goes
through as you typed it and the bot answers. Most commands work in any channel, but please
use the Bots channels for them.
In the examples, <text> is something you fill in and [size] something you can leave out.
A command like /hebrew that groups several tools shows one example line per tool.
Glossary and rules
#/define [term]
Links to the term’s entry in this site’s glossary. With no term, links to the whole glossary.
#/rule [number]
Posts that rule from the rules, e.g. /rule 5. With no number, opens an interactive rulebook browser instead: one rule per page, a jump-to-rule menu, and paging buttons on a message that stays, so you can keep browsing. A 🗑 Dismiss under it closes the browser — only whoever opened it can press it.
Hebrew and gematria
#/gematria <text>
Works out the gematria of the text: the value of each word, each line and the whole, each reduced step by step to a single digit. It reads Hebrew, Paleo-Hebrew, Greek, Arabic, Latin, runes and the digits 1 to 9. When its letters correspond to 11 or fewer different Major Arcana, it lists those cards too, in both the Rider-Waite-Smith and Thoth decks.
/hebrew atbash <text>
Enciphers the text with the atbash cipher, which swaps each letter for its mirror in the alphabet (the first for the last, and so on), then shows its gematria. It works on Hebrew, Paleo-Hebrew, Greek, Arabic, Latin, runes and digits.
/hebrew alefbet <text>
Turns Paleo-Hebrew or Arabic letters into their Hebrew equivalents, with final forms at the ends of words, then shows the gematria of the result.
/hebrew pyramid <text>
Builds a pyramid from each word, one more letter on every line, and shows its gematria. Several words give one pyramid each, up to 10.
/hebrew random <letters> [groups]
Random Hebrew letters, with the gematria of the result: /hebrew random 7 gives seven letters, and /hebrew random 4 3 gives three groups of four.
Ciphers
/cipher encode <key> <text>
Enciphers the text with the Vigenère cipher and posts the result in the channel. The key is a word, letters only. Only the letters A to Z, capital or small, are enciphered, and they keep their case; everything else passes through unchanged. It’s a toy cipher: never use it for anything that has to stay secret.
/cipher decode <key> <text>
Deciphers Vigenère text with its key. Only you see the answer.
/cipher crack <text>
Tries to break Vigenère text without the key, by letter-frequency analysis, and shows the key it found with the deciphered text. It needs a fair amount of English to go on; with too little, it says it found no clear key. Only you see the answer.
/cipher newcipher <text>
Deciphers text made with NewCipher, a homemade toy cipher from 2009. The bot only deciphers it; it can’t encipher. Only you see the answer.
/cipher oldcipher <text>
Deciphers text made with OldCipher, an older homemade toy cipher from 2009. The bot only deciphers it; it can’t encipher. Only you see the answer.
Colors
/color contrast <color or role>
Checks how readable a color is, or a role’s color: its contrast against black, against Discord’s dark theme and against white, and the average of the three.
/color contrasts <colors or roles>
The same check for several colors or roles at once, up to 10.
/color random
Shows a random color: its swatch, color code and value.
/color hex <color>
A hex code’s value as a number, ready for wherever a color’s integer form is wanted.
##ff0000
Send a message that is only a color code (a # and six hex digits) to see a swatch of that color and its value as a number.
Links, emoji and avatars
##channel-name
In most channels, send a message that is only a channel mention to move the conversation there: the bot posts a link to that channel here, and a link back to this spot there. Mentioning the channel you’re in shows its details instead.
#/pointer <message link> [comment]
Posts a link to a message on the server, with your comment if you add one.
#/hugemoji <emoji or message links>
Shows custom emoji at full size: give the emoji themselves, or links to messages that contain them, up to 10. Emoji from a message in an age-restricted channel only show in an age-restricted channel. Type this one as an ordinary message — Discord’s slash list doesn’t offer it.
#right-click a message → Apps → Expand Emoji
The right-click twin of hugemoji: shows every distinct custom emoji in that message at full size, in the order they appear, up to 10, each with a link back to the message. If the message has no custom emoji, the bot says so.
#/avatar_viewer [user ID or message link] [size]
Shows someone’s avatar, with their ID, name, nickname and when their account was created. With no user it shows yours; a message link shows the avatar of whoever sent it. The size can be 32, 64, 128, 256, 512 or 1024 (the default). Type this one as an ordinary message — Discord’s slash list doesn’t offer it.
#right-click a user → Apps → View Avatar
The right-click twin of avatar_viewer: shows someone’s avatar, with their ID, name, nickname and when their account was created, and an Open image button for the full-size file.
#/timestamp [ID]
Shows when a Discord ID (a user, message, channel or role) was created. With no ID it shows your account’s creation date.
Bumping
Staff hiatus
#/unhiatus
Coming back from a staff hiatus, this gives you back the staff roles you set aside — any that are no longer staff roles stay off. It only does something if the bot has you recorded as on hiatus; for anyone else there is nothing to restore.