mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat: delete command messages with pk;msg -delete
This commit is contained in:
parent
fa66fbe247
commit
0517c76abf
6 changed files with 48 additions and 11 deletions
|
|
@ -104,7 +104,7 @@ namespace PluralKit.Bot
|
|||
{
|
||||
// Sensitive information that might want to be deleted by :x: reaction is typically in an embed format (member cards, for example)
|
||||
// This may need to be changed at some point but works well enough for now
|
||||
await _commandMessageService.RegisterMessage(msg.Id, Author.Id);
|
||||
await _commandMessageService.RegisterMessage(msg.Id, msg.ChannelId, Author.Id);
|
||||
}
|
||||
|
||||
return msg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue