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:
parent
7de6354ac2
commit
50ba897d94
1 changed files with 8 additions and 2 deletions
10
run.py
10
run.py
|
@ -14,8 +14,14 @@ if os.name != "nt":
|
|||
|
||||
uvloop.install()
|
||||
|
||||
|
||||
bot = lightbulb.BotApp(token=c.config["token"], intents=hikari.Intents.ALL_GUILDS)
|
||||
intents = (
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue