From f95010407d799c849119244a4c84b0b281c86725 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Fri, 15 Apr 2022 03:46:04 +0100 Subject: [PATCH] Add owner id's & remove help command --- exclamation_mark_charity/__init__.py | 5 +++++ exclamation_mark_charity/runner.py | 9 +++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/exclamation_mark_charity/__init__.py b/exclamation_mark_charity/__init__.py index 49dd4da..56a959b 100644 --- a/exclamation_mark_charity/__init__.py +++ b/exclamation_mark_charity/__init__.py @@ -7,6 +7,11 @@ from dotenv import load_dotenv # Setup load_dotenv() +# Owner IDs +HAMMY = 154840866496839680 +NUGGS = 337175192751308801 +LUCA = 216625083186151425 + # Constants BOT_TOKEN = os.environ.get("CHARITY_BOT_TOKEN") BOT_PREFIX = "!" diff --git a/exclamation_mark_charity/runner.py b/exclamation_mark_charity/runner.py index 03afd26..42ad79a 100644 --- a/exclamation_mark_charity/runner.py +++ b/exclamation_mark_charity/runner.py @@ -1,9 +1,14 @@ from discord import Intents, Streaming from discord.ext.commands import Context, Bot -from exclamation_mark_charity import BOT_PREFIX, BOT_TOKEN +from exclamation_mark_charity import BOT_PREFIX, BOT_TOKEN, HAMMY, NUGGS, LUCA -bot = Bot(command_prefix=BOT_PREFIX, intents=Intents.all()) +bot = Bot( + command_prefix=BOT_PREFIX, + intents=Intents.all(), + help_command=None, + owner_ids=(HAMMY, NUGGS, LUCA) +) bot.activity = Streaming(name="!charity", url="https://www.twitch.tv/exclamation_mark_charity")