These commands are used to configure the bot.
Adds an answer from a user for the given question
Syntax
$addanswer <question> <user> <answer>
Arguments
question
: The question id to answer touser
: The user snowflake to answer foranswer
: The text answer
Deletes the answer from given user for given question
Example
Syntax
$delanswer <question> <user>
Arguments
question
: The question id to delete an answer fromuser
: The user snowflake to delete answer from
Convert a given message in a given channel to a new QuestionBot question.
Example
Syntax
convertquestion <messageid> <channel> <note> (optional)
Arguments
messageid
: The message id for the message to be convertedchannel
: The channel the message id is posted innote
: Text to be added as a note to the question (optional)
Convert a given message in a given channel to a new QuestionBot answer.
Example
Syntax
convertanswer <question> <messageid> <channel>
Arguments
question
: The question id to add the answer tomessageid
: The message id for the message to be convertedchannel
: The channel the message id is posted in
Toggles logging command invocations.
Example
Syntax
$enablelogging <setting>
Arguments
<setting>
: Eitheron
oroff
.on
: Turns on loggingoff
: Turns off logging
Sets the channel to emit <target>
messages to.
Example
Syntax
$setchannel <target> <channel>
Arguments
<target>
: The category. Eitherlog
,questions
oranswers
log
: The text channel to emit logs toquestions
: The text channel to emit questions toanswers
: The text channel to emit answers to
channel
: The text channel to bind these events to
Changes the prefix used to invoke commands.
Note: This setting modifies the bot prefix for every guild it is in. Use with caution.
Example
Syntax
$setprefix <prefix>
Arguments
prefix
: The new bot prefix.
Sets the minimum required role to invoke bot commands.
Example
Syntax
$setrole <role>
Arguments
role
: The name of the new role (not snowflake)