xlash123 / KHUx-Discord-Bot

A Discord bot that will aid players in getting information about the mobile game Kingdom Hearts Union X.
12 stars 7 forks source link

Allow lighter permissions? #5

Closed TehPower closed 6 years ago

TehPower commented 7 years ago

The most recent update made it so only admins can change settings. Maybe have it configurable in the config file?

xlash123 commented 7 years ago

Sure. Just a question: would you rather have that set by command or by role?

NickEscla commented 7 years ago

Just chiming in, since I am running the bot for my server but am not admin, it would be nice to be able to set custom roles in the config file for each command.

edit: rereading your response, personally I would appreciate if you could set it by command, and if it could work with custom roles as well.

TehPower commented 7 years ago

I'm not sure what you mean by have it set by command or role, but basically I'm hosting the server for my party's discord server but can't do any of the setting commands since I'm not the admin of the discord server (server admin is kinda not super present so it'd be nice not to have to go through him to get stuff done).

xlash123 commented 7 years ago

If I do set by command, you could do something like !admin [username] to make someone admin. By role, you could create a role "Bot Admin", which will allow a user to admin the bot. I can do either one. The benefit of command is that you could make edits in the config, so you could get around the server admin not showing up. The benefit for role is being able to see who has the power over the bot via the user list.

NickEscla commented 7 years ago

The first option sounds more versatile for the owner of the bot, and you can achieve the same effect as the "by role" with some smoke and mirrors (make a custom role and manage it manually by user in the config). I would say to it by command

TehPower commented 7 years ago

By command does seem the more versatile option

xlash123 commented 7 years ago

I'll do that then. Thanks

xlash123 commented 6 years ago

Forgot to close. Added in 1.3