.modules commanad now has a medusa module description

This commit is contained in:
Kwoth
2022-04-28 06:10:47 +02:00
parent 35ddd150ba
commit 78d97db224
4 changed files with 9 additions and 2 deletions

View File

@@ -159,11 +159,14 @@ public static class MessageChannelExtensions
{
_ = Task.Run(async () =>
{
await si.DeferAsync();
if (si is not SocketMessageComponent smc)
return;
if (smc.User.Id != ctx.User.Id || smc.Message.Id != msg.Id)
if (smc.Message.Id != msg.Id)
return;
await si.DeferAsync();
if (smc.User.Id != ctx.User.Id)
return;
if (smc.Data.CustomId == BUTTON_LEFT)