Curiosity-org / Gipsy

Gipsy is a multi-purpose discord bot which aim to be as modular and user-friendly as possible
CeCILL Free Software License Agreement v2.1
13 stars 6 forks source link

admin commands are not working #201

Closed Damien0503 closed 1 year ago

Damien0503 commented 1 year ago

The bot does not react when using admin commands.

This is on my own bot instance, using pyenv and Python 3.10.10.

Custom prefix : _

Tested commands : _admin pull _admin activity play / watch / listen / stream _admin reload _admin shutdown _admin branches _admin reboot _admin purge 5

The _help admin command works

And there is no error message in console.

I am admin of the bot in config.yaml file and I tested _config command which is working

Damien0503 commented 1 year ago

To resolve this : remove the quotation marks from admin ID in config.yaml

VForiel commented 1 year ago

It seems that when user ID is not under an int type, discord.py doesn't recognize it as an ID

2 possible solutions:

ascpial commented 1 year ago

This should be assigned to configuration rewrite in #54.

ZRunner commented 1 year ago

Fixed in #211