Closed TypicalIllusion closed 3 years ago
Could you show me what your bot's config file looks like?
Is the command a plugin based one? If so, are you sure it's the bot denying the command and not the plugin?
the command is any command with the permission value of 1-4. {"Debug":false,"BotPrefix":"+","BotToken":"my token","Port":7777,"PermLevel1Id":768146312796569641,"Permlevel2Id":768146312796569641,"Permlevel3Id":768146312796569641,"Permlevel4Id":768146312796569641,"CommandLogChannelId":0,"GameLogChannelId":0,"AllowedCommands":{"list":0,"bc":4,"kick":4,"ban":4},"EggMode":false}
its like it doesnt notice the role or anything
same thing but in notepad.txt this aswell
im still getting the "perm denied". i changed the role but that didnt work
It's because you have the roleID in all 4 perm levels, but it only registers the role ID for the first one that it appears in. Take it out of perm level 1 2 and 3, and it will work.
oh alright
another thing is, if i have perm 4 id and i have a command the requires perm 3 id, can i use perm 3 if i have the perm 4 role? or do i need to add the permission 3 role aswell
alright, thanks for all the help. the bot is working
When I run the bot everything is fine but when I run commands that are higher then permission 0, I get permission denied. I have the role and the role id is set up properly. Windows 10 64 bit (if this matters)