Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Deploy: Add snarky response to "aquire".
Browse files Browse the repository at this point in the history
  • Loading branch information
spladug committed Apr 14, 2015
1 parent 84e0cc5 commit 0e2a831
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions harold/plugins/deploy.py
Expand Up @@ -143,6 +143,13 @@ def acquire(self, irc, sender, channel):
self._update_topic()
self._update_conch()

def aquire(self, irc, sender, channel):
if channel != self.config.channel:
return

self.irc.bot.send_message(channel, "what's a quire?")
self.acquire(irc, sender, channel)

def _update_conch(self):
if self.queue:
new_conch = self.queue[0]
Expand Down Expand Up @@ -359,6 +366,7 @@ def make_plugin(config, http, irc):
irc.register_command(monitor.hold)
irc.register_command(monitor.unhold)
irc.register_command(monitor.acquire)
irc.register_command(monitor.aquire)
irc.register_command(monitor.release)
irc.register_command(monitor.jump)
irc.register_command(monitor.kick)
Expand Down

0 comments on commit 0e2a831

Please sign in to comment.