-
Notifications
You must be signed in to change notification settings - Fork 1
/
Kiraro_Main.py
34 lines (27 loc) · 929 Bytes
/
Kiraro_Main.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
"""
Author: Jawad, Jake
Version: 1.6
2021-02-04
remove hash from warnings (thought it might cuz error with new features)
added an embed for the user getting warned
made a ping command
made a user command that tell you about user information
made some jokes command (e.x. meme, nsfw, joke, size, coin, givenum, urban, _8ball)
made a poll command and a send command that sends embeds to a channel
"""
import os
import importlib
from Kiraro.Error import *
from Kiraro.Help import *
from Kiraro import bot
remove_lst = ['__init__.py', '__pycache__']
for files in os.listdir("Kiraro/Kiraro_Text"):
if files not in remove_lst:
module = F"Kiraro.Kiraro_Text.{files[:-3]}"
importlib.import_module(module)
for files in os.listdir("Kiraro/Kiraro_Voice"):
if files not in remove_lst:
module = F"Kiraro.Kiraro_Voice.{files[:-3]}"
importlib.import_module(module)
# Kiraro token
bot.run('TOKEN')