Skip to content

Commands

altoiddealer edited this page Aug 10, 2024 · 8 revisions

This bot features many useful Context Menu Commands and Slash Commands.

Managing Permissions | Slash Commands | Context Menu Commands

commands

(Screenshot uploaded on 8/9/2024)


Managing Permissions

Permissions for the bot's Commands can be modified for each server it is in via Server Settings > Integrations.

See here for more about Command Permissions.

The only permissions that the bot manages are for Direct Messages. By default, almost all commands are disabled for Direct Messages. The few which are allowed can be enabled/disabled via config.yaml

Screenshot 2024-08-09 212014

Slash Commands

These are invoked by typing "/" followed by the command.

Command description
/announce Toggles a channel to receive / stop receiving announcements from the bot (model changes, character change, etc)
/character Change character!
/helpmenu Presents this list of commands.
/image Advanced image generation command, includes prompt, negative prompt, whether to use the LLM (generate from its reply), Img2Img, Inpaint Mask, and extension options as configured (ControlNet, Face Swap)
/imgmodel Change Stable Diffusion model & payload settings as defined in dict_imgmodels.yaml
/llmmodel Change TextGen WebUI model. Your local TextGen WebUI settings will be applied, if defined (see Saving UI Defaults )
/main Set main channel for bot so it can reply without being called by name
/prompt Extra options for prompting the LLM.
/reset_conversation Reloads the current character and clears the chat history
/restart_sd_client If your SD WebUI API encounters an error, this command can often resolve it by signaling it to restart.
/save_conversation Saves the current chat history to /text-generation-webui/logs/
/set_server_settings_channel Assign a channel as the "Settings Channel" for the "Post Active Settings" feature
/set_server_voice_channel The bot can speak on a Voice Channel in each server with TTS extension support
/speak Make the bot speak whatever text you want, using available voices and languages for the TTS extension in use
/statistics_llm_gen Send various general statistics which are logged for novelty
/sync Can be used to update command menus with the most recent information available. Rarely necessary.
/toggle_auto_change_imgmodels This can turn on / turn off a feature which will automatically change Image Models
/toggle_tts Can be used to disable TTS or re-enable TTS. This cannot directly enable TTS, the bot must first be launched with a TTS client specified in config.yaml
Screenshot 2024-08-09 214810

(/image command)


Context Menu Commands

AKA App Commands. Right-click on a message from yourself or the bot, then hover over Apps and select a context menu command.

These commands can be used on any message that exists in the bot's current internal history - basically, any recent messages.

Unlike text-generation-webui, these commands can target any message in history, not just the most recent generation.

Command description
edit history Allows you to modify any message in chat history to your liking. The bot is able to edit its own discord message.
continue Tries generating more tokens for the response. Very effective when paired with edit history.
regenerate replace Works like "Regenerate" in text-generation-webui. Regenerates the reply and replaces the old one.
regenerate create A more advanced version that creates a new response without deleting the old one. Instead, it automatically toggles the previous reply as "Hidden". The responses from this command are managed very methodically, give it a shot!
toggle as hidden Hides or reveals a message exchange in the chat history. It's like deleting it, except you have the option to bring it back.
355901004-8964bf42-e7b5-43b1-aed5-5ebafcc79ee2
Clone this wiki locally