Skip to content

Commit

Permalink
added subwatch module
Browse files Browse the repository at this point in the history
  • Loading branch information
Dissimulate authored and Dissimulate committed Dec 8, 2015
1 parent b7932ec commit e0a2f3d
Show file tree
Hide file tree
Showing 4 changed files with 697 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
src/config.test.json

src/config.json

src/praw.ini
6 changes: 6 additions & 0 deletions src/config.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,11 @@
"prefix": "$",
"server": "irc.snoonet.org",
"ssl": false,
<<<<<<< HEAD
"stopped": [],
"timeout": 60,
"watch": {}
=======
"timeout": 60
>>>>>>> upstream/master
}
15 changes: 15 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

# bot.debug = True

<<<<<<< HEAD

=======
>>>>>>> upstream/master
def signal_handler(signal, frame):

print('\nShutting down...')
Expand Down Expand Up @@ -40,3 +44,14 @@ def signal_handler(signal, frame):
elif line == 'dc':

bot.disconnect()
<<<<<<< HEAD

elif line == 'grow':

bot.grow_threads()

elif line == 'shrink':

bot.shrink_threads()
=======
>>>>>>> upstream/master
Loading

0 comments on commit e0a2f3d

Please sign in to comment.