Skip to content

Mod audit doens't log who issued moderation command #280

Closed

Description

@marko-radosavljevic

Is your feature request related to a problem? Please describe.

After using moderation commands of our bot, audit doesn't log who issued the command.
image

Describe the solution you'd like

image
Or some other way to indicate who issued the command. ☺️

Activity

  1. added
    enhance command
    and removed
    enhancement
    on Nov 24, 2021
  2. Zabuzard commented on Nov 24, 2021

    @Zabuzard
    Member

    Note that this is only "easy" to do if it came from our own bot actually. Right now we read the information from the audit log, but Discords audit log has no additional information.

    So the way I see this feature being implemented is:

    • have a database table that lists all sanctions done with our bot, with timestamp (will likely be introduced by a /audit command anyways (not sure if we have a GH issue for that already))
    • lookup the ban in the audit log with the timestamp in that table (probably have to give it some variance of +-5 seconds or similar to find a match)
    • decorate the message written to the channel with the information gathered from the database
  3. added
    blocked
    on Dec 3, 2021
  4. Zabuzard commented on Dec 3, 2021

    @Zabuzard
    Member

    Blocked by the missing audit database table, which also blocks the work on temporary bans and the mute command right now.

  5. removed
    good first issue
    on Dec 3, 2021
  6. Zabuzard commented on Dec 3, 2021

    @Zabuzard
    Member

    Created an issue for it, blocked by #297

  7. removed
    blocked
    on Dec 10, 2021
  8. github-actions commented on Jan 10, 2022

    @github-actions

    This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

  9. added
    inactivity-closed
    on Jan 10, 2022
  10. added
    valid
    and removed
    inactivity-closed
    on Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhance commandpriority: normalvalid

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions