mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 19:24:23 +00:00
Moving votekick to use asyncio, fix when shutdown defender
This commit is contained in:
@@ -10,8 +10,8 @@ class VotekickManager:
|
||||
|
||||
def __init__(self, uplink: 'Votekick'):
|
||||
self.uplink = uplink
|
||||
self.Logs = uplink.Logs
|
||||
self.Utils = uplink.MainUtils
|
||||
self.Logs = uplink.ctx.Logs
|
||||
self.Utils = uplink.ctx.Utils
|
||||
|
||||
def activate_new_channel(self, channel_name: str) -> bool:
|
||||
"""Activate a new channel in the votekick systeme
|
||||
|
||||
Reference in New Issue
Block a user