spam my server

This commit is contained in:
phixxy 2024-11-05 17:56:27 -08:00
parent f9dfc29a8e
commit 771592ccdb

View file

@ -46,7 +46,7 @@ class MessageXP(BotBaseCog):
with open(os.path.join(self.data_dir, "xp.json"), "r") as xp_file:
xp_data = json.load(xp_file)
await message.reply(f"Your author id is: {author_id}")
if author_id in xp_data:
xp_data[author_id] += 1
else: