feat: Tái cấu trúc bot sang kiến trúc cog, thêm hỗ trợ đa máy chủ, giới thiệu tính năng đăng ký bóng đá, giao diện web và quản lý cấu hình.

This commit is contained in:
2026-01-16 17:26:42 +07:00
parent 8c38357c28
commit b24365927a
39 changed files with 3864 additions and 997 deletions
+12
View File
@@ -0,0 +1,12 @@
import discord
from core.bot import bot
# from core.tasks import sync_commands
# Using for sync commands to all guilds
@bot.event
async def on_ready():
print(f'{bot.user} đã tham gia vào server!')
# await sync_commands.start()
TEST_GUILD_ID = discord.Object(id=536422615649091595)
await bot.tree.sync(guild=TEST_GUILD_ID)
print("Đã đồng bộ lệnh!")