diff --git a/Program.fs b/Program.fs index 4c9039a..1cd6604 100644 --- a/Program.fs +++ b/Program.fs @@ -3,7 +3,7 @@ open System.Threading.Tasks open DSharpPlus open DSharpPlus.Entities open DSharpPlus.SlashCommands -open Microsoft.Extensions.Logging +open Emzi0767.Utilities type Move = | Rock @@ -201,6 +201,14 @@ config.Intents <- DiscordIntents.All // config.MinimumLogLevel <- LogLevel.Trace let client = new DiscordClient(config) + +client.add_ComponentInteractionCreated(AsyncEventHandler( + fun client event -> + async { + return () + } |> Async.StartAsTask + :> Task)) + let slash = client.UseSlashCommands() slash.RegisterCommands();