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

I'm admin, but "Only admins may use this command". #27

Closed Fieralegion closed 6 years ago

Fieralegion commented 6 years ago

Hi xlash123, I use the application recently, but I think it's great. However, I have a problem and I don't know why. I'm the admin on the server, but when I use !admin, !default or !config, appears the message: "Only admins may use this command". Command !medal works fine, by the way.

I have read all the guides I found about the bot, but I can't find anything. Any idea what the problem might be?

Thanks for the bot!

xlash123 commented 6 years ago

By admin on the server, do you mean you've been set as admin using the !admin command or you are a admin through server permissions?

Fieralegion commented 6 years ago

I mean that I created the server, so I have all the permissions. KHUX bot works fine with !medal, but with !medal, !admin, !config, !lux, or any other, KHUX bot tell me: "Only admins may use this command".

xlash123 commented 6 years ago

Even if you created the server, the bot doesn't know that. You'll need to have the Administrator permission checked in a role for the bot to know. Once you do that, you can use !admin to admin yourself and others. Afterwards, the bot will know you are an admin without the actual Discord permission.

Let me know if this fixes it, and sorry for the late response.

xlash123 commented 6 years ago

I just released update 1.8.0 in which I resolved some errors with the !admin command. I believe this issue has been resolved. Let me know if otherwise.