We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9fc852 commit 19f4ea8Copy full SHA for 19f4ea8
bot/cogs/game_cogs/farm_cog.py
@@ -326,7 +326,7 @@ async def on_message(self, message: Message):
326
actor.xp += xp_reward
327
print(f"👤 @{member.name} earned {xp_reward} xp.")
328
329
- # Log xp gain to a "log" named channel
+ # Accumulate xp gain to log later
330
if xp_reward > 0:
331
guild_id = message.guild.id
332
user_id = member.id
utils/xp.py
@@ -13,7 +13,7 @@ class Experience:
13
XP_PER_MESSAGE_BASE: int = 1
14
15
# XP per "valid" word (meeting criteria below)
16
- XP_PER_WORD: float = 0.5
+ XP_PER_WORD: float = 1
17
18
# Maximum number of words to count for XP (prevents wall-of-text exploit)
19
XP_WORD_COUNT_CAP: int = 500
0 commit comments