Комментарии:
it says that argument.slice(...).join is not a function
Ответитьit's saying that the longest line of code (the first line) is undefined and the command doesn't work. I am using slash commands though so I don't know if that makes a difference, but I previously had a register-commands.js file which was where I could figure out if my commands were proper or not. I registered the commands and the slash command popped up in the command section for my bot with all of the other commands. it showed up as a slash command but when I typed it, it said "Application did not respond" and the app crashed. It said that the code I previously talked about was undefined. Any help?
Ответитьcan someone give me the source code
Ответитьonly admin can ban user?
Ответитьif (!message.member.permissions.has(PermissionBitField.Flags.BanMembers)) return message.channel.send("You don't have permission to ban members!");
^
TypeError: Cannot read properties of undefined (reading 'Flags')
what to do?
does not send the dm message to the banned user, even when their dms are on it says in console that their dms are off
ОтветитьOml
Episode two of a dyslexic doing this:
MY LORD THANK YOU SO MUCH, i didn't realize how simple it was to learn it, you're a legend hope you know that!
W love it
ОтветитьCan you make a video for ban and kicks but for the slash commands please? Also this video helped a lot for the bots with prefix but I was just wondering if we could make it with slash.
Ответитьamazing it worked for me if (it doesnt work make sure to save btw)
Ответитьafter writing the ban command the bot sends 2 messages for every time I write my ban command.
Ответитьgood vid, but i need the unban command xD
ОтветитьNow my test command makes the bot message send twice after adding the ban command
ОтветитьW
Ответитьgood video! code definately works!
Ответитьwhen will the unban command video come out?
Ответитьmake unban command now xd
cuz the guy who get banned will never get unbanned
it doesn't work its giving me error
Ответить