Skip to content

Commit 5e6135d

Browse files
AmbratolmAmbratolm
authored andcommitted
Farm: Fixed XP log typos & interval (1min).
1 parent 912801c commit 5e6135d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bot/cogs/game_cogs/farm_cog.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)