REF: Final update to make sure the code is GDPR compliant
This commit is contained in:
4
main.py
4
main.py
@ -9,8 +9,8 @@ from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
|
||||
GUILD_ID = os.getenv('GUILD_ID')
|
||||
TOKEN = os.getenv('DISCORD_TOKEN')
|
||||
GUILD_ID = int(os.getenv('GUILD_ID'))
|
||||
|
||||
intents = discord.Intents.default()
|
||||
intents.message_content = True
|
||||
@ -25,7 +25,7 @@ class Ariella(commands.Bot):
|
||||
await self.load_extension('commands')
|
||||
await self.load_extension('gdpr_commands')
|
||||
self.tree.copy_global_to(guild=discord.Object(id=GUILD_ID))
|
||||
await self.tree.sync(guild=discord.Object(id=GUILD_ID))
|
||||
await self.tree.sync()
|
||||
|
||||
|
||||
bot = Ariella()
|
||||
|
Reference in New Issue
Block a user