Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bot.command({
- name: "setprefix",
- aliases: ['changeprefix', 'prefix'],
- code: `$author[Success]
- $description[**Done, my new prefix is** \`$message\`]
- $color[RANDOM]
- $setServerVar[prefix;$message]
- $onlyIf[$message[1]!=;**You have to put a prefix, example** \`$getServerVar[prefix]setprefix /\`]
- $onlyPerms[admin;$customEmoji[Rufy] **You dont have** \`ADMIN\` **perms**]`
- })
- bot.variables({
- prefix: "("
- })
- --------------------------------
- See full video
- $getServerVar[prefix]
Add Comment
Please, Sign In to add comment