maybe fix boost event??
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 39s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 39s
This commit is contained in:
parent
a4e3598986
commit
c1d775c9d0
@ -52,7 +52,8 @@ public class DiscordService {
|
||||
GatewayIntent.GUILD_MEMBERS,
|
||||
GatewayIntent.GUILD_EMOJIS_AND_STICKERS,
|
||||
GatewayIntent.GUILD_PRESENCES,
|
||||
GatewayIntent.GUILD_VOICE_STATES
|
||||
GatewayIntent.GUILD_VOICE_STATES,
|
||||
GatewayIntent.GUILD_INVITES
|
||||
))
|
||||
.disableCache(
|
||||
CacheFlag.ACTIVITY,
|
||||
|
@ -341,7 +341,6 @@ public class EventService extends ListenerAdapter {
|
||||
if (event.getNewTimeBoosted() != null) {
|
||||
for (EventListener listener : LISTENERS) {
|
||||
listener.onGuildMemberBoostAdd(guild, user, event.getOldTimeBoosted(), event.getNewTimeBoosted(), event);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@ -349,7 +348,6 @@ public class EventService extends ListenerAdapter {
|
||||
if (event.getOldTimeBoosted() != null) {
|
||||
for (EventListener listener : LISTENERS) {
|
||||
listener.onGuildMemberBoostRemove(guild, user, event.getOldTimeBoosted(), event.getNewTimeBoosted(), event);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user