|
|
|
@@ -58,11 +58,9 @@ class FounderlessNotify(commands.Cog): |
|
|
|
self.config = Config.get_conf(self, identifier=82732344, force_registration=True) |
|
|
|
default_global_settings = {'update_time': 0, 'previous_founderless': [], 'notify_channel': 0} |
|
|
|
self.config.register_global(**default_global_settings) |
|
|
|
self.bg_loop_task = asyncio.create_task(self.bg_loop()) |
|
|
|
|
|
|
|
def cog_unload(self): |
|
|
|
if self.bg_loop_task: |
|
|
|
self.bg_loop_task.cancel() |
|
|
|
pass |
|
|
|
|
|
|
|
@commands.command() |
|
|
|
@checks.is_owner() |
|
|
|
|