mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[scripts/discord-stream] Now uses separate file.
This commit is contained in:
parent
e786ef6448
commit
ab7320297f
2 changed files with 3 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
||||||
Plug 'tpope/vim-eunuch'
|
Plug 'tpope/vim-eunuch'
|
||||||
if g:vim_ide
|
if g:vim_ide
|
||||||
Plug 'francoiscabrol/ranger.vim'
|
Plug 'francoiscabrol/ranger.vim'
|
||||||
|
Plug 'rbgrouleff/bclose.vim'
|
||||||
endif
|
endif
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import os
|
||||||
guild_id = int(sys.argv[1])
|
guild_id = int(sys.argv[1])
|
||||||
voice_channel_id = int(sys.argv[2])
|
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()
|
bot_token = f.read().strip()
|
||||||
|
|
||||||
|
|
||||||
|
@ -34,4 +34,4 @@ async def on_ready():
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
bot.run(bot_token)
|
bot.run(bot_token, bot=False)
|
||||||
|
|
Loading…
Reference in a new issue