Whitelist and blacklist were checking against the bot's ID instead of the ID of the message author. Changed that to check the right ID.
Also added in a basic permission system. Permissions stored in permissions.json as strings with an associated list of user IDs. Includes a stop command that can only be used by 'admin' role to gracefully disconnect the bot.
Whitelist and blacklist were checking against the bot's ID instead of the ID of the message author. Changed that to check the right ID.
Also added in a basic permission system. Permissions stored in permissions.json as strings with an associated list of user IDs. Includes a stop command that can only be used by 'admin' role to gracefully disconnect the bot.