diff --git a/Boyfriend.cs b/Boyfriend.cs index ada3cc0..21e1b02 100644 --- a/Boyfriend.cs +++ b/Boyfriend.cs @@ -31,6 +31,10 @@ public class Boyfriend { var services = host.Services; var slashService = services.GetRequiredService(); + // Providing a guild ID to this call will result in command duplicates! + // To get rid of them, provide the ID of the guild containing duplicates, + // comment out calls to WithCommandGroup in CreateHostBuilder + // then launch the bot again and remove the guild ID await slashService.UpdateSlashCommandsAsync(); await host.RunAsync();