mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-21 04:48:44 +00:00
added purge command to delete messages via bulk delete
adapted api of status message service added concept of self destruct command results, these will cause the command message to be deleted
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Deletes the last n messages in the channel
|
||||
@@ -0,0 +1,6 @@
|
||||
Deletes the last n messages in the channel. The messages are allowed to be at most 2 weeks old.
|
||||
If a member is provided as a parameter, only messages by this member are deleted, but at most n messages are considered.
|
||||
For example, if you execute the command with 200 messages and specify member User#1234, and User#1234 does not have any messages
|
||||
in the last 200 message, no message will be deleted.
|
||||
While the command is going on a status message indicating how many messages are currently being deleted is shown.
|
||||
If messages older than two weeks are found, the command will stop and post an error message.
|
||||
@@ -0,0 +1 @@
|
||||
Amount of messages do delete.
|
||||
@@ -0,0 +1 @@
|
||||
The member to delete messages of.
|
||||
@@ -0,0 +1 @@
|
||||
purge <amount> [member]
|
||||
@@ -0,0 +1 @@
|
||||
${currentlyDeleted} out of ${totalToDelete} messages deleted.
|
||||
@@ -0,0 +1 @@
|
||||
No more messages found to delete.
|
||||
Reference in New Issue
Block a user