adding nối từ game
This commit is contained in:
+1
-6
@@ -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")
|
||||
Reference in New Issue
Block a user