1
0
Fork 0
mirror of https://github.com/myned/watcher.git synced 2024-12-24 13:07:28 +00:00

Change intents to be more specific

This commit is contained in:
Myned 2023-03-16 03:07:51 -05:00
parent 7de6354ac2
commit 50ba897d94
No known key found for this signature in database
GPG key ID: 28056631D2CF6B1B

10
run.py
View file

@ -14,8 +14,14 @@ if os.name != "nt":
uvloop.install() uvloop.install()
intents = (
bot = lightbulb.BotApp(token=c.config["token"], intents=hikari.Intents.ALL_GUILDS) hikari.Intents.GUILDS # limbo
| hikari.Intents.GUILD_MEMBERS # limbo
| hikari.Intents.GUILD_MESSAGES # activity
| hikari.Intents.GUILD_MESSAGE_TYPING # activity
| hikari.Intents.GUILD_VOICE_STATES # activity
)
bot = lightbulb.BotApp(token=c.config["token"], intents=intents)
# Listener for global exceptions # Listener for global exceptions