level roles debugging (remove all auto + print all multiple roles) 7c59dc9 verified lunarflu HF staff commited on Feb 12, 2024
switched positions of await member.remove_roles(lvls[old_level]) print(f"Removed {lvls[old_level]} from {member}") await member.add_roles(current_role) print(f"Level Up! Gave {member} {current_role}") 3257c81 verified lunarflu HF staff commited on Feb 12, 2024
old_total_xp = int(total_exp) old_level = calculate_level(old_total_xp) b4cb5c9 verified lunarflu HF staff commited on Feb 12, 2024
old_total_xp = global_df.loc[index, 'total_exp'] d5dc608 verified lunarflu HF staff commited on Feb 12, 2024
total_exp = str(total_exp) for startswith e939e33 verified lunarflu HF staff commited on Feb 11, 2024
changing position of calculate_level (before variables are set as strings which we cannot raise to a power) 98784d0 verified lunarflu HF staff commited on Feb 10, 2024
replacing startswith with [] for integers 8c6117d verified lunarflu HF staff commited on Feb 10, 2024
community_global_df['discord_exp'] = community_global_df['discord_exp'].str.strip('L').astype(int) 65ae6b1 verified lunarflu HF staff commited on Feb 10, 2024
community_global_df['discord_user_id'] = community_global_df['discord_user_id'].str.strip('L').astype(str) e172551 verified lunarflu HF staff commited on Feb 10, 2024
testing hugging exclusion from shown rank, emoji, potential leaderboard rank in verify cap embed c99270b verified lunarflu HF staff commited on Feb 9, 2024