13 lines
320 B
Python
13 lines
320 B
Python
![]() |
#!/bin/python
|
||
|
|
||
|
from discord import Client
|
||
|
from lib.covid_report_lib import background_task
|
||
|
|
||
|
|
||
|
if(__name__ == '__main__'):
|
||
|
with open('.keys/bot_api.key') as key:
|
||
|
discord_api_key = key.readline().strip()
|
||
|
client = Client()
|
||
|
client.loop.create_task(background_task(client))
|
||
|
client.run(discord_api_key)
|