Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Commit 5130ed9

Browse files
Merge pull request #244 from ocf/remove-discourse
misc: remove discourse
2 parents 9a8f2ee + 61f1b04 commit 5130ed9

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

ircbot/ircbot.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ def __init__(
111111
mysql_password,
112112
googlesearch_key,
113113
googlesearch_cx,
114-
discourse_apikey,
115114
kanboard_apikey,
116115
twitter_apikeys,
117116
):
@@ -127,7 +126,6 @@ def __init__(
127126
self.mysql_password = mysql_password
128127
self.googlesearch_key = googlesearch_key
129128
self.googlesearch_cx = googlesearch_cx
130-
self.discourse_apikey = discourse_apikey
131129
self.kanboard_apikey = kanboard_apikey
132130
self.twitter_apikeys = twitter_apikeys
133131
self.listeners: Set[Listener] = set()
@@ -433,7 +431,6 @@ def main():
433431
mysql_password = conf.get('mysql', 'password')
434432
googlesearch_key = conf.get('googlesearch', 'key')
435433
googlesearch_cx = conf.get('googlesearch', 'cx')
436-
discourse_apikey = conf.get('discourse', 'apikey')
437434
kanboard_apikey = conf.get('kanboard', 'apikey')
438435
twitter_apikeys = (
439436
conf.get('twitter', 'apikey'),
@@ -443,7 +440,7 @@ def main():
443440
bot = CreateBot(
444441
celery_conf, nickserv_password, rt_password,
445442
weather_apikey, mysql_password, googlesearch_key, googlesearch_cx,
446-
discourse_apikey, kanboard_apikey, twitter_apikeys,
443+
kanboard_apikey, twitter_apikeys,
447444
)
448445

449446
# Start the bot!

ircbot/plugin/discourse.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)