Intents all as +rep didnt work with Essentials i will make this a conf option

main
supopur 2 years ago
parent 35646be4f8
commit 17c727d225

@ -14,5 +14,5 @@ key = "/path/to/private.key"
[bot] [bot]
cogs=["cogs.example"] cogs=["cogs.essentials.commands"]
guild_ids=["823188238260633600", "1081319631463133185", "903933566612799579"] guild_ids=["823188238260633600"]

@ -48,10 +48,8 @@ log("dbg", f"Token is: {token}")
start_time = time.time() 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.") logger.debug("Loaded the client.")
@ -254,7 +252,7 @@ if __name__ == "__main__":
#info #info
def cli_info(self): 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.") cli.register_command("info", cli_info, "Shows the info about the bot.")

Loading…
Cancel
Save