(for premium bots)
Premium gives you access to use
$getServerVar in triggers. This makes it possible to make custom prefixes.
Custom prefixes allow the bot's prefix (like
!) to be changed in different servers. For example, in one server the bot's prefix could be
! and in the other it could be
- Create a variable called "prefix" with the value set to the bot's default prefix. The default prefix is the prefix the bot uses if no custom one is set.
- Create a command for setting the prefix, use the code below.
$nomention $onlyAdmin[❌ You need the administrator permission to use that!] $setServerVar[prefix;$noMentionMessage] Set $serverName[$guildID]'s prefix to `$noMentionMessage`
Change all the command triggers to
$getServerVar[prefix]trigger-here. For example,
You're all set, enjoy!