set bot intents as default()

This commit is contained in:
deflax 2024-01-16 18:12:09 +02:00
parent 092682d725
commit 83ad5f2613

View file

@ -12,9 +12,6 @@ scheduler_hostname = os.environ.get('SCHEDULER_API_HOSTNAME', 'tv.example.com')
# Discord API Intents
intents = discord.Intents.default()
intents.messages = True
intents.guilds = True
intents.reactions = True
# Discord client
bot = commands.Bot(command_prefix="!", intents=intents)