Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run commands (commands also not showing in discord integrations) #50

Open
UhhMagnum opened this issue Mar 13, 2023 · 3 comments
Open

Comments

@UhhMagnum
Copy link

OS: Windows 10 64-bit
pip version 22.3.1
Python 3.10
discord.py version 2.2.2

MySQL seems to be configured properly as I get "mysql: Connection is working" when I run configure.py and new tables were created after I ran discord-shop.py.
The bot is connected properly to discord but I can't run the setup command or any command in general.
I granted the bot admin, permission to run application commands, and bot permissions in dev portal so I'm not too sure what the issue is that is preventing me from running commands for the bot.
any comments would be very appreciated.

I've attached the output from running discord-shop.py.
Output DSBOT

@nassah2121
Copy link

any solution for this? i have the same problem

@Web2Root
Copy link

Having studied all the code of this repository, I still do not understand what is the cause of this problem.
Although I can assume that this is somehow related to the "guild" mentioned in the code, as well as the role of the "Seller"
I myself am still new to python, but what if I use "guild=discord.Object(id=GUILD_ID)"
I hope the author of this creation will make the necessary changes.
P.S. (probably bad translation)

@Tarigan0700
Copy link

anyone solve this problem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants