fix(counters): Fix alias creation not remove cmds.
This commit is contained in:
@@ -194,6 +194,7 @@ class CounterCog(LionCog):
|
|||||||
self.add_twitch_command(self.crocbot, cmd)
|
self.add_twitch_command(self.crocbot, cmd)
|
||||||
for cmd in disc_cmds:
|
for cmd in disc_cmds:
|
||||||
# cmd.cog = self
|
# cmd.cog = self
|
||||||
|
self.bot.remove_command(cmd.name)
|
||||||
self.bot.add_command(cmd)
|
self.bot.add_command(cmd)
|
||||||
print(f"Adding command: {cmd}")
|
print(f"Adding command: {cmd}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user