mirror of
https://github.com/alterware/aw-bot.git
synced 2025-10-26 22:16:58 +00:00
feat: DB for patterns
This commit is contained in:
4
aw.py
4
aw.py
@@ -3,6 +3,8 @@ import os
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
|
||||
from database import initialize_db
|
||||
|
||||
GUILD_ID = 1110531063161299074
|
||||
BOT_LOG = 1112049391482703873
|
||||
GENERAL_CHANNEL = 1110531063744303138
|
||||
@@ -11,6 +13,8 @@ OFFTOPIC_CHANNEL = 1112048063448617142
|
||||
intents = discord.Intents.all()
|
||||
bot = commands.Bot(command_prefix="!", intents=intents)
|
||||
|
||||
initialize_db()
|
||||
|
||||
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
|
||||
Reference in New Issue
Block a user