-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp_bot.py
34 lines (31 loc) · 1.04 KB
/
app_bot.py
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
31
32
33
34
from bot.botBase import BotBase as Bot
from bot.cogs.events.eventReady import EventReady
from bot.cogs.events.eventJoin import EventJoin
from bot.cogs.envia_msg.envia_msg_chat import Envia_Msg
from bot.cogs.loop_hordas.geraHordas import GeraHordas
from bot.cogs.commands.bot_channel.capaventura import Capaventura
from bot.cogs.commands.user_channel.cap import Cap
from bot.cogs.commands.user_channel.capcoins import Capcoins
from bot.cogs.commands.user_channel.capshop import Capshop
from bot.cogs.commands.user_channel.capmon import Capmon
from bot.cogs.commands.whispers.capend import Capend
from bot.cogs.commands.whispers.capbuy import Capbuy
cogs = []
cogs.append(EventReady)
cogs.append(EventJoin)
cogs.append(Envia_Msg)
cogs.append(GeraHordas)
cogs.append(Capaventura)
cogs.append(Cap)
cogs.append(Capcoins)
cogs.append(Capmon)
cogs.append(Capshop)
cogs.append(Capbuy)
cogs.append(Capend)
def prepare(bot: Bot, cogs: list):
for cog in cogs:
bot.add_cog(cog(bot))
if __name__ == "__main__":
bot = Bot()
prepare(bot, cogs)
bot.run()