This commit is contained in:
eccentric 2023-12-14 19:48:33 +00:00
parent 156f7e8f95
commit 8ffcccba57

View File

@ -48,7 +48,7 @@ func IntialiseClient() {
addCommands() addCommands()
if len(StaticClient.Commands) < len(StaticClient.GetRegisteredCommands()) { if len(StaticClient.Commands) != len(StaticClient.GetRegisteredCommands()) {
StaticClient.UnregisterCommands() StaticClient.UnregisterCommands()
StaticClient.RegisterCommands() StaticClient.RegisterCommands()
} }