Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commands

drizzle-mizzle edited this page Sep 20, 2023 · 36 revisions

OBSOLETE! Will be updated later

  • exit - Shut the bot down. ⚡Use it instead of regular application closing to make sure that bot won't leave some processes working in background.

  • help <page?> - Commands

  • link - Get original character link

  • find character <query> - Find and set character by its name

    • Alias: find
  • set character <id> - Set character by id

    • Aliases: set, sc
  • reset character - Start new chat with a character (for a current channel only, other channels won't be affected)

    • Alias: reset
    • Use reset -all to drop a history in all channels on the server
  • get history - Get history id for a current channel

    • Example: gh => Current history_id: 8iivXQTlYLWTdZLrpwwIilFP6sG75epIr88NK9yGh8g
    • Alias: gh
  • set history <id> - Set history id for a current channel

    • Alias: sh
    • Example: sh new_id => History_id for this channel was changed from 8iivXQTlYLWTdZLrpwwIilFP6sG75epIr88NK9yGh8g to new_id
  • continue history <channel> - Copy history id from another channel

    • Alias: continue, ch
    • Example: continue #channel2 => History_id for this channel was changed from channel1_history_id to channel2_history_id
  • private - Create a private chat with a character (every time the user without a bot role [or not a server owner] creates a new chat, his previous chat becomes inactive)

    • Alias: pc
  • add <channel_id> <user> - Add the user to your private chat

  • kick <user> - Kick the user from your private chat (use it in channel you want to kick user from)

  • clear - Delete all inactive private channels

  • audience mode <mode?> - Enable/disable audience mode (what is the audience mode - read below)

    • Alias: amode
    • Mode: 0 - disabled, 1 - username only, 2 - quote only, 3 - quote and username
    • Example: amode 3 => Audience mode: quote and username!
    • Example: amode => Current mode: 0 - disabled
  • call user <user> <any text?> - Make character call other user (you can use it to make two bots talk to each other)

    • Aliases: call, cu
    • Example: @some_character #call @another_character Do you love donuts?
    • (if no text argument provided, default "Hey!" will be used)
  • skip <amount?> - Make character ignore next few messages (use it to stop bots' conversation)

    • (if no amount argument provided, default 1 will be used)
    • (commands will not be ignored, amount can be reduced with another call)
  • delay <time in seconds> - Add delay to character responeses (may be useful if you don't want two bots to reply to each other too fast)

    • Example: delay 5 => Replies delay for current channel was changed from 0s to 5s
  • reply chance <chance> - Change the probability of random replies on new users' messages in %(works per channel). It's better to use it with the audience mode enabled. If you use it on a big server with a fast chat speed, consider using the fractional values, like 0.2 (0.2/100 = 1 message out of 500).

    • Alias: rc
    • Example: rc 50 => Probability of random replies in current channel was changed from 0% to 50%
    • (default value = 0%)
  • hunt <@user_mention> - Make character always reply on messages of a certain user (works per channel)

  • unhunt <@user_mention> - Stop hunting user

  • hunt chance <@user_mention> <chance> - Change the probability of replies to a hunted user in % (works per channel)

    • Alias: hc
    • Example: hc @user 50 => Probability of replies for @user was changed from 100% to 50%
    • (default value = 100%)
  • ignore <@user_mention> - Prevent user from calling the bot

    • Alias: ban
  • allow <@user_mention> - Allow user to call the bot

    • Alias: unban
  • activity <type> <text> - Change bot activity status

    • Types: 0 - Playing, 1 - Streaming, 2 - Listening, 3 - Watching, 4 - Custom, 5 - Competing (idk if everything works)
    • (provide 0 for text to clear activity)
  • status <type> - Change bot presence status

    • Type: 0 - Offline, 1 - Online, 2 - Idle, 3 - AFK, 4 - DND, 5 - Invisible (idk if everything works)
  • ping - check latency

  • target language <language code> - Change the target language for translate button in current channel. You can find all supported languages here: DeepL API Docs. Set to 0 to disable translator.

    • Alias: lang
  • reboot - Relaunch browser. Use it if character begings to respond way too slow.

  • servers-list - Show joined servers (can be executed only by hoster, see Public mode)

    • Alias: sl
  • all-alert <text> - Send a broadcast message to all known channels.

Audience mode (experimental)

These are very old screenshots and some things may look different now

image

When you talk with a character you can use only one character.ai account for every user on your server, and it does puts some limitations on a conversation. Thinking about it, I decided to try to "explain" character that there are many different users who speak with him using a single account. And... it really worked lol. If you add a nickname and a quote to your reply, the character will, usually, understand the context, and his answers will be more consistent.

This feature is disabled by default, but you can enable it with amode command. Be careful, as it can break some characters or make their answers look strange.

How does it looks in Discord:

image

image

How it actually is:

image

image

Clone this wiki locally