khari Docs
Overview

Using Commands

Prefixes, slash commands, shortcuts, and aliases.

Prefixes

Every bot uses , by default, so commands look like ,ban. Mentioning the bot always works too, like @khari help.

  • ,prefix shows the server's prefix and yours. ,prefix panel opens a menu to change them. Prefixes are 1 to 5 characters.
  • ,selfprefix gives you a personal prefix that works on top of the server's, in every server.
  • khari VC and khari Music each set their prefix in their own setup menu (,vc setup, ,music setup).

Slash commands

Most of khari's commands also work as slash commands, like /prefix set, with the same checks. Fun commands share /fun and social lookups share /social. khari VC and khari Music use chat commands only.

Handy shortcuts

  • Fix a typo by editing. Edit a chat command within 2 minutes of sending it and khari runs the new version.
  • Reply to target. Reply to a message with a moderation command, like ,warn, to target its author and save the message as evidence.
  • Type names loosely. Members can be typed by username, display name, or nickname, in any capitals, or just the start of one if only one member fits. Role names work the same way.
  • Post a video. Ping khari with a TikTok, Instagram, X, or YouTube Shorts link, like @khari https://www.tiktok.com/..., and it posts the video itself so it plays right in chat. ,video <link> does the same.
  • Toggles. Commands like ,role @user @role, ,botadmin @user, and ,highlight word add the thing, or remove it if it's already there.
  • Tidy chat. Commands whose reply stands on its own, like ,avatar, ,poll, and ,giveaway, delete the message that ran them.

Aliases

Aliases are your own short names for commands, per server. They're chat only.

  • ,alias add bc clear bots makes ,bc run ,clear bots, and ,bc 20 run ,clear bots 20.
  • {0}, {1}, and so on stand for the words typed after the alias. ,alias add udirty role {0} loser makes ,udirty @user run ,role @user loser.
  • Aliases can point at khari VC commands too, like ,alias add vlock vc lock.

Reading usage

<name> is required[name] is optional[days=30] shows the default