diff --git a/discord/discord.go b/discord/discord.go index 54d3e76..6909311 100644 --- a/discord/discord.go +++ b/discord/discord.go @@ -48,7 +48,7 @@ func IntialiseClient() { addCommands() - if len(StaticClient.Commands) < len(StaticClient.GetRegisteredCommands()) { + if len(StaticClient.Commands) != len(StaticClient.GetRegisteredCommands()) { StaticClient.UnregisterCommands() StaticClient.RegisterCommands() }