File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def cog_unload(self):
4545 # ----------------------------------------------------------------------------------------------------
4646 # * Log XP Gains
4747 # ----------------------------------------------------------------------------------------------------
48- @tasks .loop (seconds = 5 .0 )
48+ @tasks .loop (seconds = 60 .0 )
4949 async def log_xp_gains (self ):
5050 log_copy = self .xp_gain_log .copy ()
5151 self .xp_gain_log .clear ()
@@ -70,14 +70,14 @@ async def log_xp_gains(self):
7070 for user_id , total_xp in sorted (
7171 user_gains .items (), key = lambda item : item [1 ], reverse = True
7272 ):
73- description_lines .append (f"⏫ <@{ user_id } > earned **{ total_xp } ** xp." )
73+ description_lines .append (f"<@{ user_id } > earned **{ total_xp } ** xp." )
7474
7575 if not description_lines :
7676 continue
7777
7878 embed = EmbedX .info (
7979 emoji = "⏫" ,
80- title = "Experience Gains " ,
80+ title = "Experience" ,
8181 description = "\n " .join (description_lines ),
8282 )
8383 try :
You can’t perform that action at this time.
0 commit comments