Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions ircbot/ircbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def __init__(
googlesearch_key,
googlesearch_cx,
kanboard_apikey,
twitter_apikeys,
):
self.recent_messages: DefaultDict[str, Any] = collections.defaultdict(
functools.partial(collections.deque, maxlen=NUM_RECENT_MESSAGES),
Expand All @@ -127,7 +126,6 @@ def __init__(
self.googlesearch_key = googlesearch_key
self.googlesearch_cx = googlesearch_cx
self.kanboard_apikey = kanboard_apikey
self.twitter_apikeys = twitter_apikeys
self.listeners: Set[Listener] = set()
self.plugins: Dict[str, ModuleType] = {}
self.extra_channels: Set[str] = set() # plugins can add stuff here
Expand Down Expand Up @@ -432,15 +430,11 @@ def main():
googlesearch_key = conf.get('googlesearch', 'key')
googlesearch_cx = conf.get('googlesearch', 'cx')
kanboard_apikey = conf.get('kanboard', 'apikey')
twitter_apikeys = (
conf.get('twitter', 'apikey'),
conf.get('twitter', 'apisecret'),
)

bot = CreateBot(
celery_conf, nickserv_password, rt_password,
weather_apikey, mysql_password, googlesearch_key, googlesearch_cx,
kanboard_apikey, twitter_apikeys,
kanboard_apikey,
)

# Start the bot!
Expand Down
84 changes: 0 additions & 84 deletions ircbot/plugin/twitter.py

This file was deleted.