Комментарии:
BEST!
ОтветитьCan anyone help i'm getting this error:
"No module named 'cogs._json'"
Edit: nvm i figured it out i already had a fuction that imports all my cogs so i had to make a new folder for this
How do I make the bot not respond when I mentioned it and I typed something in it. For ex: @botname hi
Ответитьyou should touch on the fact that it's an extremely bad idea to use a json as a database if the viewer plans to make the bot much larger
Ответить"no module named cogs.__json", can you help me pls?
ОтветитьThe cooldown here is inefficient. You did not show where you added the command on cooldown handler which is very useful because it changed in time. Also, one issue I have with cooldown mapping and cooldown commands is the reply. It repeats a lot if the user spams the command. Which will break your bot. So that’s what people need to take into account when talking about cooldowns. Because people will do that and you don’t want it to affect your bot.
Ответитьwould "20" be cooldown time and this "1"? I didn't understand what it is for
@commands.cooldown(1, 20, commands.BucketType.user)
Moderation commands with a custom channel for logs. Keep up with your videos dude, you are great
ОтветитьLevel command please
ОтветитьFirst as always! Great video. Even though im not programming along, im learning so much about Python (& d.py) hehe
Ответить