Kicking a bot doesn't delete its role

(#450) Bug Awaiting confirmation moderation

Summary

When kicking a bot from a community, the bot's role isn't being deleted. I think this is unintended.

Steps to reproduce

  1. Add a bot to your server.
  2. Kick the bot.
  3. The bot's role is still present.

Environment (optional)

stable build 180 (d6cde0f), 2026-03-26 01:15:28 UTC, Chrome 146.0.0.0, Linux (x86)

Logs or screenshots (optional)

Discovered this in a server of mine (I kicked and re-added a bot multiple times): image
  • 569693186-592aac79-64de-441b-96ba-e251105e21f5.png

    569693186-592aac79-64de-441b-96ba-e251105e21f5.png

    289×451 | 19 kB

2 comments

Sign in with Fluxer to comment and vote.
Comment by Rex
RexSystem 1 vote
Status changed from Fixed to Awaiting confirmation
This was closed in a bulk cleanup before Fluxer V2 without being checked or fixed. It may work now, so it is waiting for someone to confirm whether the bug still happens.
Comment by @TheBlindBard1978
RexSystem 1 vote originally by @TheBlindBard1978 on GitHub
Seconding this; I've noticed bot roles aren't automatically removed, and one has to manually remove them.