mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 19:24:23 +00:00
Fix await issue by Adding await to asyncio.sleep. replace build_command location
This commit is contained in:
@@ -88,7 +88,7 @@ class Votekick(IModule):
|
||||
self.VoteKickManager.VOTE_CHANNEL_DB = metadata
|
||||
|
||||
# Créer les nouvelles commandes du module
|
||||
self.ctx.Irc.build_command(1, self.module_name, 'vote', 'The kick vote module')
|
||||
self.ctx.Commands.build_command(1, self.module_name, 'vote', 'The kick vote module')
|
||||
|
||||
async def unload(self) -> None:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user