Luois45 / DiscordShopBot

A Bot which manages a fully working shop system for Discord.
https://discordshopbot.louis45.de
GNU General Public License v3.0
33 stars 14 forks source link

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

Open UhhMagnum opened 1 year ago

UhhMagnum commented 1 year ago

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 commented 1 year ago

any solution for this? i have the same problem

Web2Root commented 1 year ago

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 commented 8 months ago

anyone solve this problem ?