Make example scripts executable (#36)
This commit is contained in:
parent
764e88a222
commit
86eddea996
2
examples/irc/dicebot.py
Normal file → Executable file
2
examples/irc/dicebot.py
Normal file → Executable file
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from pinhook.bot import Bot
|
||||
|
||||
ph = Bot(
|
||||
|
4
examples/twitch/dicebot.py
Normal file → Executable file
4
examples/twitch/dicebot.py
Normal file → Executable file
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from pinhook.bot import TwitchBot
|
||||
|
||||
bot = TwitchBot(
|
||||
@ -5,4 +7,4 @@ bot = TwitchBot(
|
||||
channel='#dicechannel',
|
||||
token='supersecrettokenhere'
|
||||
)
|
||||
bot.start()
|
||||
bot.start()
|
||||
|
Loading…
x
Reference in New Issue
Block a user