[scripts/discord-stream] Now uses separate file.

This commit is contained in:
Keanu Timmermans 2020-12-31 16:02:00 +00:00
parent e786ef6448
commit ab7320297f
Signed by: keanucode
GPG Key ID: A7431C0D513CA93B
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
Plug 'tpope/vim-eunuch'
if g:vim_ide
Plug 'francoiscabrol/ranger.vim'
Plug 'rbgrouleff/bclose.vim'
endif
" }}}

View File

@ -7,7 +7,7 @@ import os
guild_id = int(sys.argv[1])
voice_channel_id = int(sys.argv[2])
with open(os.path.expanduser("~/.config/dotfiles/discord-tools-bot-token.txt")) as f:
with open(os.path.expanduser("~/.config/dotfiles/discord-tools-user-token.txt")) as f:
bot_token = f.read().strip()
@ -34,4 +34,4 @@ async def on_ready():
)
bot.run(bot_token)
bot.run(bot_token, bot=False)