forked from Fascinated/Bat
fix intent
This commit is contained in:
parent
0b09b8ba5f
commit
5b917af1ca
@ -51,14 +51,14 @@ public class DiscordService {
|
|||||||
GatewayIntent.MESSAGE_CONTENT,
|
GatewayIntent.MESSAGE_CONTENT,
|
||||||
GatewayIntent.GUILD_MEMBERS,
|
GatewayIntent.GUILD_MEMBERS,
|
||||||
GatewayIntent.GUILD_EMOJIS_AND_STICKERS,
|
GatewayIntent.GUILD_EMOJIS_AND_STICKERS,
|
||||||
GatewayIntent.GUILD_PRESENCES,
|
|
||||||
GatewayIntent.GUILD_VOICE_STATES,
|
GatewayIntent.GUILD_VOICE_STATES,
|
||||||
GatewayIntent.GUILD_INVITES
|
GatewayIntent.GUILD_INVITES
|
||||||
))
|
))
|
||||||
.disableCache(
|
.disableCache(
|
||||||
CacheFlag.ACTIVITY,
|
CacheFlag.ACTIVITY,
|
||||||
CacheFlag.CLIENT_STATUS,
|
CacheFlag.CLIENT_STATUS,
|
||||||
CacheFlag.SCHEDULED_EVENTS
|
CacheFlag.SCHEDULED_EVENTS,
|
||||||
|
CacheFlag.ONLINE_STATUS
|
||||||
).build()
|
).build()
|
||||||
.awaitReady();
|
.awaitReady();
|
||||||
log.info("Connected to Discord as {}", JDA.getSelfUser().getEffectiveName());
|
log.info("Connected to Discord as {}", JDA.getSelfUser().getEffectiveName());
|
||||||
|
Loading…
Reference in New Issue
Block a user