We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cf3ffc commit b6c1d6eCopy full SHA for b6c1d6e
1 file changed
wall_e/extensions/leveling.py
@@ -669,6 +669,8 @@ async def process_leveling_profile_data_for_active_users(self):
669
670
@tasks.loop(seconds=5)
671
async def process_outdated_profile_pics(self):
672
+ if self.guild is None:
673
+ return
674
user_ids_to_update = await UserPoint.get_users_with_expired_images()
675
self.logger.debug(
676
f"[Leveling process_outdated_profile_pics()] {len(user_ids_to_update)} users with outdated CND links"
0 commit comments