From 17c727d225bf8ef6943c3fb7432d3108fa99a9b0 Mon Sep 17 00:00:00 2001 From: supopur Date: Wed, 22 Mar 2023 17:26:42 +0100 Subject: [PATCH] Intents all as +rep didnt work with Essentials i will make this a conf option --- config.toml | 4 ++-- main.py | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/config.toml b/config.toml index d6cabf7..c089846 100644 --- a/config.toml +++ b/config.toml @@ -14,5 +14,5 @@ key = "/path/to/private.key" [bot] -cogs=["cogs.example"] -guild_ids=["823188238260633600", "1081319631463133185", "903933566612799579"] +cogs=["cogs.essentials.commands"] +guild_ids=["823188238260633600"] diff --git a/main.py b/main.py index 26c1728..8e2d901 100644 --- a/main.py +++ b/main.py @@ -48,10 +48,8 @@ log("dbg", f"Token is: {token}") start_time = time.time() -intents = discord.Intents.default() -intents.members = True -bot = commands.Bot(command_prefix='!', intents=intents) +bot = commands.Bot(command_prefix='!', intents=discord.Intents.all()) logger.debug("Loaded the client.") @@ -254,7 +252,7 @@ if __name__ == "__main__": #info def cli_info(self): - print(f"You are running version 0.0.0 - Pre Release. Created by supopur under the GNUv3 license. Git repo: https://git.nazev.eu:8443/ Our discord link: https://discord.gg/dVVVSM4z") + print(f"You are running version 0.1.0 - Dev. Created by supopur under the GNUv3 license. Git repo: https://git.nazev.eu:8443/supopur/mee2 Our discord link: https://discord.gg/dVVVSM4z") cli.register_command("info", cli_info, "Shows the info about the bot.")