remove unuse file and modify home debt app
This commit is contained in:
+3
-8
@@ -1,10 +1,8 @@
|
||||
import discord
|
||||
import os
|
||||
import asyncio
|
||||
from core.bot import bot
|
||||
from discord.ext import commands
|
||||
from typing import Dict, Set, Optional
|
||||
from datetime import datetime, timedelta
|
||||
from core.bot import bot, CHANNEL_NOI_TU_ID
|
||||
from typing import Set
|
||||
from datetime import datetime
|
||||
from apps.currency import incr
|
||||
|
||||
# Lazy load repository để tránh lỗi database connection
|
||||
@@ -18,9 +16,6 @@ def get_noi_tu_repo():
|
||||
noi_tu_repo = NoiTuRepository()
|
||||
return noi_tu_repo
|
||||
|
||||
# Lấy channel ID từ environment
|
||||
CHANNEL_NOI_TU_ID = int(os.getenv('CHANNEL_NOI_TU_ID', 0))
|
||||
|
||||
# Game state
|
||||
class NoiTuGame:
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user