aboutsummaryrefslogtreecommitdiff
path: root/modules/ctcp.py
diff options
context:
space:
mode:
authorGravatar dngfx2018-08-31 10:51:47 +0100
committerGravatar dngfx2018-08-31 10:51:47 +0100
commit90ce92dc39395444862edfc7946ef7a1195f2464 (patch)
tree6832c146a15879df292d265083bfe5795cbdfa69 /modules/ctcp.py
parentReformat (diff)
Revert "Reformat"
This reverts commit abed9cf
Diffstat (limited to 'modules/ctcp.py')
-rw-r--r--modules/ctcp.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/ctcp.py b/modules/ctcp.py
index a2b1fefb..031b39cd 100644
--- a/modules/ctcp.py
+++ b/modules/ctcp.py
@@ -1,6 +1,5 @@
import datetime
-
class Module(object):
def __init__(self, bot):
bot.events.on("received").on("message").on("private").hook(
@@ -19,10 +18,10 @@ class Module(object):
ctcp_response = None
if ctcp_command == "VERSION":
ctcp_response = self.bot.config.get("ctcp-version",
- "BitBot (https://github.com/jesopo/bitbot)")
+ "BitBot (https://github.com/jesopo/bitbot)")
elif ctcp_command == "SOURCE":
ctcp_response = self.bot.config.get("ctcp-source",
- "https://github.com/jesopo/bitbot")
+ "https://github.com/jesopo/bitbot")
elif ctcp_command == "PING":
ctcp_response = " ".join(ctcp_args_split)
elif ctcp_command == "TIME":
@@ -30,4 +29,4 @@ class Module(object):
if ctcp_response:
event["user"].send_ctcp_response(ctcp_command,
- ctcp_response)
+ ctcp_response)