diff options
| author | jason | 2014-04-29 22:25:02 -0600 |
|---|---|---|
| committer | jason | 2014-05-28 01:39:33 -0600 |
| commit | 4cf57f4825f5f9c1a3d8e6df041ba5d8f9f7ceca (patch) | |
| tree | 8e588bb5f342bd03f2a4ead9f6b57958ca04f931 | |
| parent | 2ad5e43a3005736b012cbb018116c78fba607185 (diff) | |
| download | warmachine-4cf57f4825f5f9c1a3d8e6df041ba5d8f9f7ceca.tar.gz warmachine-4cf57f4825f5f9c1a3d8e6df041ba5d8f9f7ceca.zip | |
update settings for more heroku support
Conflicts:
settings.py
| -rw-r--r-- | settings.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/settings.py b/settings.py index bdb1e17..beda64f 100644 --- a/settings.py +++ b/settings.py | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | # warmachine | 1 | # warmachine |
| 2 | # | 2 | # |
| 3 | import os | ||
| 3 | 4 | ||
| 4 | # choose the nickname for you bot. | 5 | # choose the nickname for you bot. |
| 5 | NICKNAME = 'warmachine' | 6 | NICKNAME = 'warmachine' |
| @@ -10,15 +11,15 @@ NICKSERV_PASSWORD ='' | |||
| 10 | SERVER = 'irc.freenode.org' | 11 | SERVER = 'irc.freenode.org' |
| 11 | PORT = 6667 | 12 | PORT = 6667 |
| 12 | IDENT = 'warmachine' | 13 | IDENT = 'warmachine' |
| 14 | PASSWORD = os.environ['PASSWORD'] | ||
| 13 | 15 | ||
| 14 | CHANNELS = ('#warmachine-dev',) | 16 | CHANNELS = ('#lobby',) |
| 15 | 17 | ||
| 16 | ADMINS = ('com4',) | 18 | ADMINS = ('jason',) |
| 17 | 19 | ||
| 18 | DB_PATH = "warmachine.db" | 20 | DB_PATH = "enderlabs.db" |
| 19 | 21 | ||
| 20 | ACTIONS = ( | 22 | ACTIONS = ( |
| 21 | 'wmd.actions.passive.nickserv.IdentWithNickserv', | ||
| 22 | 'wmd.actions.passive.pong.RespondToPing', | 23 | 'wmd.actions.passive.pong.RespondToPing', |
| 23 | 'wmd.actions.passive.topic_archive.TopicArchive', | 24 | 'wmd.actions.passive.topic_archive.TopicArchive', |
| 24 | 'wmd.actions.passive.rejoin_on_kick.RejoinOnKick', | 25 | 'wmd.actions.passive.rejoin_on_kick.RejoinOnKick', |
| @@ -27,9 +28,10 @@ ACTIONS = ( | |||
| 27 | 'wmd.actions.modules.ListModules', | 28 | 'wmd.actions.modules.ListModules', |
| 28 | 'wmd.actions.modules.UnloadModule', | 29 | 'wmd.actions.modules.UnloadModule', |
| 29 | 'wmd.actions.google.GoogleSearch', | 30 | 'wmd.actions.google.GoogleSearch', |
| 31 | 'wmd.actions.giphy.GiphySearch', | ||
| 30 | ) | 32 | ) |
| 31 | 33 | ||
| 32 | try: | 34 | try: |
| 33 | from local_settings import * | 35 | from local_settings import * |
| 34 | except ImportError: | 36 | except ImportError: |
| 35 | pass \ No newline at end of file | 37 | pass |