matrix-org / matrix-appservice-discord

A bridge between Matrix and Discord.
Apache License 2.0
813 stars 152 forks source link

Add a command to force the bot to remove its admin privileges #710

Open MightyCreak opened 3 years ago

MightyCreak commented 3 years ago

I've mistakenly set the admin rights on the discord bot in my room (I wanted to add moderator, but well, the error is human :smile: ).

Since it seems impossible to fix this as you can't "unadmin" another admin. I think a proper solution might be to have a dedicated command to tell the bot to revoke its privileges. Something like this:

!discord revoke privileges

This would make the bot a regular user again and then I would be able to put it as a moderator (as it should be).

auscompgeek commented 3 years ago

Isn't this already possible with the adminme tool?

MightyCreak commented 3 years ago

What's the adminme tool? Is it something I can use even though it's not my appservice?

auscompgeek commented 3 years ago

https://github.com/Half-Shot/matrix-appservice-discord/blob/develop/docs/howto.md#set-privileges-on-bridge-managed-rooms

jaller94 commented 2 years ago

The adminme tool only seems to be suitable for the bridge admin.

As a room admin who is not the bridge admin, I cannot run this script.