Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Discord commands

ZeroTwoReallyLovesLollipop edited this page Oct 7, 2023 · 6 revisions

In the config.yml file you can change the prefix and the short preffix of the bot, by default their values are prefix: chatbot and short_prefix: cb, also you can change the names of the commands in config.yml, so to understand it easier, this document will call the commands by it default name.

all commands will be list with prefix but all works with short_prefix

When using a command that includes a parameter, do no include the brackets <> for example if you wanted to ask how much is 2 + 2 to the chatbot, you would do prefix.ask how much is 2 + 2 rather than prefix.ask <how much is 2 + 2>

General

  • prefix.help: Sends a list of commands in the bot

  • prefix.hello: Sends a hello message

  • prefix.copypasta: Sends a random copypasta from copypasta list

  • prefix.version: Sends the release of the bot

Voice channel related

  • prefix.join: Join to the voice channel where the user that invoke this command it’s connected, if the user that invoke the channel isn’t in a voice channel the bot will answer with a rejection message

  • prefix.leave: The bot leave the channel where it’s connected, if the bot isn’t connected to a voice channel the bot will answer with an error message

Chatbot related

  • prefix.ask <question>: Sends an answer to the question made in the command

  • prefix.ask.tts <question>: Sends an answer to the question made in the command as a TTS mesage

  • prefix.ask.voice <question>: Sends an answer via audio in the channel where te bot is connected

  • prefix.reset: Reset the curent prompt of the bot (this command may speed up the answer speed of the bot and reduce the token consumption, but the bot will lose the context)

  • prefix.changerole <new role>: Reset the current prompt and change the role of the bot, this will change the role of the bot, if you execute prefix.reset it will go back to it's original role

Clone this wiki locally