From 12eb3a70e164499e227e81035947d06623388f35 Mon Sep 17 00:00:00 2001 From: strNophix Date: Thu, 18 Nov 2021 22:17:12 +0100 Subject: [PATCH] Critical fix with owner_id --- .pre-commit-config.yaml | 2 +- bot.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 76a1554..7e3b957 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ default_language_version: - python: python3.8 + python: python3.9 repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.0.1 diff --git a/bot.py b/bot.py index 85b7cd9..3af0a2c 100644 --- a/bot.py +++ b/bot.py @@ -50,6 +50,7 @@ class TuneBot(commands.Bot): super().__init__( command_prefix=self.prefix_callable, + owner_ids=self.config["owner_ids"], description=self.config["info"]["description"], case_insensitive=False, fetch_offline_members=False,