matrix-appservice-discord icon indicating copy to clipboard operation
matrix-appservice-discord copied to clipboard

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

Open MightyCreak opened this issue 3 years ago • 4 comments

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).

MightyCreak avatar May 29 '21 16:05 MightyCreak

Isn't this already possible with the adminme tool?

auscompgeek avatar May 30 '21 08:05 auscompgeek

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

MightyCreak avatar May 30 '21 17:05 MightyCreak

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

auscompgeek avatar Jun 20 '21 00:06 auscompgeek

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.

jaller94 avatar May 20 '22 10:05 jaller94