mirror of
https://github.com/Myxelium/Lunaris2.0.git
synced 2026-04-11 15:19:53 +00:00
Add Join and Play handlers, Expand Command Builder functionality
This commit is contained in:
@@ -24,8 +24,8 @@ public class DiscordEventListener(DiscordSocketClient client, IServiceScopeFacto
|
||||
await Task.CompletedTask;
|
||||
}
|
||||
|
||||
private Task OnMessageReceivedAsync(SocketSlashCommand arg)
|
||||
private async Task OnMessageReceivedAsync(SocketSlashCommand arg)
|
||||
{
|
||||
return Mediator.Publish(new MessageReceivedNotification(arg), _cancellationToken);
|
||||
await Mediator.Publish(new MessageReceivedNotification(arg), _cancellationToken);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user