#python bad thing
1 messages · Page 1 of 1 (latest)
provide ur code
the error is pretty simple tho
im assuming that bot is supposed to be defined from commands.Bot or something
and random is the random module
although im not too sure unless u provide the code
It's discord.py because bot not mine
its fine, u can provide it here since its for both nextcord and/or other python stuff
Alright
Imma send it in a bit
its import random as random because i tried to fix the error
might just be ur extension being buggy then
if u run it normally, youll be fine
the code seems correct so
I indeed run it normally
Imma give you the error tomorrow
Because I am in bed now
so im guessing this server is only for coding?
Yes. Use #genearı if ur messages have nothing to do with the forum posts
How did you get here? Is this ther first server you found? 😂
i just had a buggy instalation...
i had to uninstall discord
but somehow
i did
pip uninstall discord
and it found more packages under pip uninstall discord.py....
Was aimed at this user
nah i didn't missunderstand that
i put the 3 dots because its weird i uninstall discord package and it found packages under pip uninstall discord.py
while it skipped pip uninstall discord as it wasn't installed
so
i followed glowstik's tutorial
on disabling and enabling level system
but now if i disable
the enable command gets disabled aswell
🤣
this my code if anyone has a fix
imma make new helpthread
no need
im not familiar with sqlite
ok
Why and how would it get disabled
Oh is it the on_message listener returning before passing the event forward to the message command processor?
idk
no the group
and the commands
are defined eternally from the listener
But on_message stops any command from triggering
Unless the event is passed back using process_commands
And if thats never reached
I assume its never processed
i found it idk y
Wait
So I have to use process_commands() for the command to be processed after the event?