user verification

This commit is contained in:
chrisbell committed 2026-11-10 17:35:53 -06:00
1 parent 53e0daac1e
commit 65bbaff0cb
4 files changed
+486 -1

No files matched your search

+4 -1
View File
@@ -9,6 +9,7 @@ from db import Database
EXTENSIONS = [
"cogs.settings",
"cogs.verify",
"cogs.roles",
"cogs.channels",
"cogs.countdown",
@@ -30,9 +31,11 @@ async def on_tree_error(interaction: discord.Interaction, error):
class Bot(commands.Bot):
def __init__(self):
intents = discord.Intents.default()
intents.members = True
super().__init__(
command_prefix=commands.when_mentioned,
intents=discord.Intents.default(),
intents=intents,
)
self.db = Database(config.DB_PATH)
self.tree.on_error = on_tree_error