Make example scripts executable (#36)

pull/37/head
Lucidiot 2018-10-10 19:23:31 +02:00 committed by Mal Hancock
parent 764e88a222
commit 86eddea996
2 changed files with 5 additions and 1 deletions

2
examples/irc/dicebot.py 100644 → 100755
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
from pinhook.bot import Bot from pinhook.bot import Bot
ph = Bot( ph = Bot(

4
examples/twitch/dicebot.py 100644 → 100755
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
from pinhook.bot import TwitchBot from pinhook.bot import TwitchBot
bot = TwitchBot( bot = TwitchBot(
@ -5,4 +7,4 @@ bot = TwitchBot(
channel='#dicechannel', channel='#dicechannel',
token='supersecrettokenhere' token='supersecrettokenhere'
) )
bot.start() bot.start()