parent
1f2b9f998d
commit
9d344a4ef9
@ -49,6 +49,9 @@ namespace PluralKit.Bot
|
|||||||
{
|
{
|
||||||
await _webhookExecutor.EditWebhookMessage(msg.Channel, msg.Mid, newContent);
|
await _webhookExecutor.EditWebhookMessage(msg.Channel, msg.Mid, newContent);
|
||||||
|
|
||||||
|
if (ctx.Guild == null)
|
||||||
|
await _rest.CreateReaction(ctx.Channel.Id, ctx.Message.Id, new() { Name = Emojis.Success });
|
||||||
|
|
||||||
if (ctx.BotPermissions.HasFlag(PermissionSet.ManageMessages))
|
if (ctx.BotPermissions.HasFlag(PermissionSet.ManageMessages))
|
||||||
await _rest.DeleteMessage(ctx.Channel.Id, ctx.Message.Id);
|
await _rest.DeleteMessage(ctx.Channel.Id, ctx.Message.Id);
|
||||||
|
|
||||||
@ -97,4 +100,4 @@ namespace PluralKit.Bot
|
|||||||
return lastMessage;
|
return lastMessage;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user