user verification
This commit is contained in:
1 parent
53e0daac1e
commit
65bbaff0cb
4 files changed
+486
-1
No files matched your search
+4
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user