Skip to content

[Suggestion] Implement Role Caching for Member Leave Event / Block #316

Description

@uesu

Suggestion

I am proposing an enhancement to the Listen for guild member remove event listener to trigger, placeholder value /variable {member.roles} → Lists all roles the user had when they left or a new block? that retrieves the last known roles of the member from the bot's internal cache

Not sure if this is possible though on Kite.. but a neat feature if possible since member count api (join / leave) is already possible on kite https://discord.com/channels/845800518458540083/1473823153590505588/1473823153590505588

Useful Use Cases

  1. Advanced Moderation Logs:
    • Create a log that specifies if a "Staff" member or "VIP" left
    • Example: "User Example (ID: 123) has left. They held roles: @Moderator, @Donator."
  2. Alerting for High-Value Members:
    • If a user with a "Booster" or "Subscriber" role leaves, send a specific alert to a private admin channel to investigate why they left
  3. Security Notifications:
    • If a user with "Administrator" permissions leaves the server, the bot can trigger an emergency webhook to alert the server owner of a potential internal staff change
  4. Custom Leave Templates:
    • Sending a specific farewell message based on their rank
    • Example: If roles include "Level 50," send: "A legendary veteran has left the server!"
Image

This is based on: https://discord.com/channels/845800518458540083/1440813069973458994

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement to an existing feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions