Skip to content

[Request] Purge command #26

@Anvnamnet

Description

@Anvnamnet

I was thinking.

  • @automod purge [amount]

Deletes a set amount of messages above the command.
The triggering message is also deleted after the command is processed.
NO acknowledging message that command was successful. Only error.

  • @automod purge [amount] [#channel]

Deletes a set amount of messages in a specified channel.

Command/trigger is not deleted and a response output:
{ [amount] messages has been deleted in [#channel]. Do you wish to delete the trigger and this message? }
[✅ :] [❌ ]

  • @automod purge [amount] [@username]

Deletes a set amount of messages for a specified user above the command.
The triggering message is also deleted after the command is processed.
NO acknowledging message that command was successful. Only error.

  • @automod purge [amount] [#channel] [@username]

Deletes a set amount of messages in a specified channel from a specified user.

Command/trigger is not deleted and a response output:
{ [amount] messages has been deleted in [#channel]. Do you wish to delete the trigger and this message?
[✅ :] [❌] }

And a command to purge all.
This trigger will have an added f in front of the word purge. F is for FORCE. So Force purge.
This to make sure that you can't accidentally purge all messages.
Could also add a prompt asking if you are sure that you want to delete all messages in this channel.
BUT, I would love for this prompt to be a setting where we can turn it on/off.

  • @automod fpurge
    Deletes all messages in the same channel where the command was executed.
    Including trigger.

  • @automod fpurge [username]
    Deletes all messages ever sent by a specific user. If possible, across all channels that the bot has access too.
    Else, in the channel where the command was triggered.
    Response output: { All messages from [user] has been deleted. }
    The response should NOT @ the user, but the name should be shown.

  • @automod fpurge [#channelname]
    I mean.. I guess you get the jist here. Se above commands.

  • @automod fpurge [#channelname ][username]
    I mean.. I guess you get the jist here. Se above commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions