From 29385b59fcf6fe999e8598ab7f9680cb741d7eb5 Mon Sep 17 00:00:00 2001 From: Shinyhunter2109 <35253149+Shinyhunter2109@users.noreply.github.com> Date: Sun, 28 Apr 2024 15:34:44 +0200 Subject: [PATCH] reverted changes --- Discord-Bot.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Discord-Bot.py b/Discord-Bot.py index 1142b98..0c64892 100644 --- a/Discord-Bot.py +++ b/Discord-Bot.py @@ -65,8 +65,7 @@ handler.setFormatter(logging.Formatter('%(asctime)s:%(levelname)s:%(name)s: %(message)s')) logger.addHandler(handler) -client = commands.Bot(command_prefix = '!', intents = intents) -discord.Intents().all() intents.members = True +client = commands.Bot(command_prefix = '!', intents = discord.Intents.all()) client.launch_time = datetime.utcnow() guild_ids = [0000000000000] # Your Guild ID goes here (multiple guilds possible) # client.warnings = {} # guild_id : {member_id: [count, [(admin_id, reason)]]} @@ -75,7 +74,6 @@ status = cycle(['Pokémon Scarlet', 'Pokémon Violet']) # Standard Games can be edited if needed # ROLE = 'Member' # Standard Role can be edited when needed ! # - def setprefix(): with open("prefix.txt") as f: # (can be changed but totally optional) return "\n".join(f.readlines())