12 lines
293 B
Python
12 lines
293 B
Python
#!/bin/python3
|
|
|
|
from discord.ext import commands
|
|
from lib.covidBot import add_commands
|
|
from lib.config_lib import import_config
|
|
|
|
|
|
if(__name__ == '__main__'):
|
|
config_dict = import_config()
|
|
bot = commands.Bot(command_prefix='!')
|
|
add_commands(bot)
|
|
bot.run(config_dict['api_key'])
|