adding nối từ game

This commit is contained in:
2025-06-23 17:01:31 +07:00
parent 300807e26a
commit 537be0c4ab
15 changed files with 752 additions and 32 deletions
+1 -6
View File
@@ -14,9 +14,4 @@ from core.bot import bot
# new_exp = current_exp + VOICE_EXP_POINTS_PER_MINUTE
# await user_repo.update_exp(user_id, new_exp)
# await user_repo.update_voice_time(user_id, current_time.isoformat())
# print(f"Thêm {VOICE_EXP_POINTS_PER_MINUTE} điểm kinh nghiệm cho user {user_id} cho thời gian voice")
@tasks.loop(minutes=1)
async def sync_commands():
await bot.tree.sync()
print("Đã đồng bộ lệnh!")
# print(f"Thêm {VOICE_EXP_POINTS_PER_MINUTE} điểm kinh nghiệm cho user {user_id} cho thời gian voice")