Closed MelodicAlbuild closed 1 year ago
After looking at this for a couple hours, it looks like the bot creation calls the add interaction, but doesn't have a check to not add an interaction if the command already exists, as such it throws the error and the bot crashes. Seems like a simple check to add in but I don't work in python so I can't do much here. @Kigstn If you need more error log or such from me, let me know.
@MelodicAlbuild
Huh, interesting issue. It seems like discord does not properly report your commands back to your client, or I made a mistake somewhere. The 2nd is probably more likely :D
There are two solutions I can propose on the spot:
1) comment out line 209 in ElevatorBot/elevator.py
to see if the same issue happens with other commands. That line only loads debugging features, which you don't need anyways.
2) change the COMMAND_GUILD_SCOPE
in your settings.toml
back to an empty list, that should do the trick as well and only disable some debugging commands and some admin stuff, nothing major or destiny related. I recommend this over solution 1
If that does not work, I'd love to get the full traceback.
Anyways, please report back if that worked and ping me when you do. Otherwise it may take me a couple days until I notice the update :)
Hello,
I am trying to run the bot on my own servers and after configuring the entire bot and running it, I had to restart it because of a networking change. As soon as I restarted it I started to get this error:
I'm not sure why it's doing this but I'm looking into it to try and find a solution.