Advertisement
BDFD_Berk

Common BDFD bugs fixes | Bot Designer For Discord: Guide

Oct 8th, 2021
2,045
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. If some fix doesn't works, try changing between unstable mode, Bdscript 2 and normal mode, and keep the mode that works with the fix.
  2.  
  3. =============== bug 1 - negative numbers in economy, fix ===============
  4.  
  5. fix 1:
  6. $onlyIf[$noMentionMessage>0;error (optional)]
  7.  
  8. or fix 2:
  9. $onlyIf[$checkContains[$noMentionMessage;-]==false;error (optional)]
  10.  
  11.  
  12. =============== bug 2 - bot commands working on DMs, fix ===============
  13.  
  14. fix:
  15. $onlyIf[$guildID!=;error (optional)]
  16.  
  17.  
  18. =============== bug 3 - you're able to take mod actions against people with a higher role, fix ===============
  19.  
  20. If your code uses mentions:
  21. $onlyIf[$rolePosition[$highestRole[$authorID]]<$rolePosition[$highestRole[$mentioned[1]]];error here (optional)]
  22.  
  23. or if your code uses IDs and not mentions:
  24. $onlyIf[$rolePosition[$highestRole[$authorID]]<$rolePosition[$highestRole[$message[1]]];error here (optional)]
  25.  
  26. or if your code uses IDs and mentions:
  27. $onlyIf[$rolePosition[$highestRole[$authorID]]<$rolePosition[$highestRole[$findUser[$message[1]]]];error here (optional)]
  28.  
  29.  
  30. =============== bug 4 - you can set channels from another server in set-channel commands, fix ===============
  31.  
  32. fix, if your code uses channel mentions:
  33. $onlyIf[$findChannel[$channelName[$mentionedChannels[1]]]!=;Please mention a channel of this server only!]
  34.  
  35. or if your code uses channel IDs:
  36. $onlyIf[$findChannel[$channelName[$message[1]]]!=;Please mention a channel of this server only!]
  37.  
  38. =============================================================================================================
  39.  
  40. If some fix doesn't works, try changing between unstable mode, Bdscript 2 and normal mode, and keep the mode that works with the fix.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement