11 lines
301 B
Python
11 lines
301 B
Python
#!/bin/python
|
|
from discord.ext import commands
|
|
from lib.covidBot import add_commands
|
|
|
|
|
|
if(__name__ == '__main__'):
|
|
bot = commands.Bot(command_prefix='!')
|
|
with open('.keys/bot_api.key') as key:
|
|
discord_api_key = key.readline().strip()
|
|
add_commands(bot)
|
|
bot.run(discord_api_key)
|