Implement subscription from RSS feed
This commit is contained in:
parent
4674cc926c
commit
aacceacd96
11 changed files with 185 additions and 271 deletions
4
start.py
4
start.py
|
|
@ -16,9 +16,7 @@ def main():
|
|||
del arguments
|
||||
|
||||
bot_token = Path('data/discord_bot_token.txt').read_text(encoding='utf-8').strip()
|
||||
yt_api_key = Path('data/google_api_key.txt').read_text(encoding='utf-8').strip()
|
||||
manager = Bot(bot_token=bot_token, guild_id=guild_id, yt_api_key=yt_api_key,
|
||||
log_level=logging.DEBUG if debug_mode else logging.INFO)
|
||||
manager = Bot(bot_token=bot_token, guild_id=guild_id, log_level=logging.DEBUG if debug_mode else logging.INFO)
|
||||
try:
|
||||
manager.run()
|
||||
except KeyboardInterrupt:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue