diff --git a/watchdog.py b/watchdog.py index 033c606..4ba24af 100644 --- a/watchdog.py +++ b/watchdog.py @@ -5,12 +5,12 @@ import signal import sys from discord.ext import commands -from os import getenv +from os import environ from rich.console import Console from rich import inspect from datetime import datetime, timezone -application_id = getenv("APPLICATION_ID") +application_id = environ("APPLICATION_ID") # Console object for rich text content console = Console() @@ -39,7 +39,7 @@ class Watchdog(commands.AutoShardedBot): super().__init__( command_prefix = "%", intents = intents, - application_id = int(application_id) + application_id = application_id ) # Output to log when bot is ready