SEA01

Dbd.js / Custom Status, Prefix

Jul 9th, 2020 (edited)
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. Dbd.js / custom status and preifx by sea it.
  2.  
  3. bot.status({
  4.  
  5. text: "Status 1",
  6.  
  7. type: "WATCHING",
  8.  
  9. time: 12
  10.  
  11. })
  12.  
  13. bot.status({
  14.  
  15. text: "Status 2",
  16.  
  17. type: "WATCHING",
  18.  
  19. time: 12
  20.  
  21. })
  22.  
  23. bot.status({
  24.  
  25. text: "Status 3",
  26.  
  27. type: "WATCHING",
  28.  
  29. time: 12
  30.  
  31. })
  32.  
  33. ---------------------------------------------------------------------------------------
  34. bot.command({
  35. name: "setprefix",
  36. aliases: ['changeprefix', 'prefix'],
  37. code: `$author[Success;https://cdn.discordapp.com/attachments/760236507310850102/780441559468474408/6286_tada_animated.gif]
  38. $description[**Done, my new prefix is** \`$message\`]
  39. $color[RANDOM]
  40. $setServerVar[prefix;$message]
  41. $onlyIf[$message[1]!=;**You have to put a prefix, example** \`$getServerVar[prefix]setprefix /\`]
  42. $onlyPerms[admin;$customEmoji[Rufy] **You dont have** \`ADMIN\` **perms**]`
  43. })
  44.  
  45. bot.variables({
  46. prefix: "-"
  47. })
Add Comment
Please, Sign In to add comment