forked from Py-Contributors/Cybel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
30 lines (22 loc) · 668 Bytes
/
app.py
File metadata and controls
30 lines (22 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"""
MIT License
Copyright (c) 2021 Deepak Raj
Bot-Name:- Cybel
Github:- https://github.com/codePerfectPlus/Cybel
Invite-Link:-
https://discord.com/api/oauth2/authorize?client_id=832137823309004800&permissions=142337&scope=bot
"""
from discord import Intents
from discord.ext import commands
from src.utils import utils
intents = Intents.default()
intents.members = True
bot = commands.Bot(command_prefix="!",
intents=intents,
case_insensitive=True)
# load cogs
bot.load_extension("src.cogs.admin")
bot.load_extension("src.cogs.auto")
bot.load_extension("src.cogs.user")
if __name__ == '__main__':
bot.run(utils.TOKEN)