Skip to content

Commands for server mods

Kevin Lu edited this page Oct 14, 2022 · 9 revisions

These commands are usable by users with the "Manage Messages" permission in the current channel. A more sophisticated permission system that lets server admins designate moderator roles is a future feature.

See also: Slash Command /locale

Configuration

Usage: .config option value

This sets various options Bastion will respect on a server-by-server basis. The name of the option comes from the below table, and the value should fit the listed constraints. Giving an invalid value will reset that option to the global default.

Name Description Constraints Default
prefix The character that goes at the start of a command to get Bastion's attention Any string .
defaultLang The default language to use for card searches when not otherwise specified A language code for a language Bastion supports en
embedColor The default colour for the sidebar in Discord Rich Embeds when it's not based on the type of a card A hexadecimal RRGGBB colour code FFFF00
fullBrackets The brackets used to tell Bastion to do a full card search Two strings separated by a space, that are not used as the mobBrackets < >
mobBrackets The brackets used to tell Bastion to do a mobile mode card search Two strings separated by a space, that are not used as the fullBrackets { }
triviaHint The time in a round of Trivia at which Bastion will provide a hint A number of seconds* less than the triviaLimit 10
triviaLimit The length of a round of Trivia A number of seconds* more than the triviaHint 30
triviaMax The maximum number of rounds for a game of Trivia A number 20
mobileView When true, displays all commands in mobile mode, without Discord Rich Embeds "true" or "false" false
suppressEmotes When true, will not display emotes for Type, Attribute etc. in card profiles "true" or "false" false
allowAnime When true, will allow YGOPro Percy anime cards to be searched for "true" or "false" false
allowCustom When true, will allow custom cards to be searched for "true" or "false" false

*If the number of seconds is 1000 or greater, it is assumed to be milliseconds and divided by 1000

Trivia lock

Usage: .tlock

This command will toggle whether the Trivia game can be played in the current channel. By default, it is off, so this command needs to be used before users can play trivia. This option is provided due to the potentially spammy nature of the game.