File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/java/net/dv8tion/jda/api/events/user/update Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 2020import net .dv8tion .jda .api .entities .Activity ;
2121import net .dv8tion .jda .api .entities .Guild ;
2222import net .dv8tion .jda .api .entities .Member ;
23+ import net .dv8tion .jda .api .events .annotations .RequiredCacheFlags ;
2324import net .dv8tion .jda .api .events .annotations .RequiredIntents ;
2425import net .dv8tion .jda .api .events .annotations .RequiresCachedMember ;
2526import net .dv8tion .jda .api .requests .GatewayIntent ;
27+ import net .dv8tion .jda .api .utils .cache .CacheFlag ;
2628
2729import javax .annotation .Nonnull ;
2830import java .util .List ;
4648 * need to have the old member cached to compare against.
4749 */
4850@ RequiredIntents (always = GatewayIntent .GUILD_PRESENCES )
51+ @ RequiredCacheFlags (always = CacheFlag .ACTIVITY )
4952@ RequiresCachedMember
5053public class UserUpdateActivityOrderEvent extends GenericUserUpdateEvent <List <Activity >> implements GenericUserPresenceEvent
5154{
You can’t perform that action at this time.
0 commit comments