diff options
Diffstat (limited to 'modules/ctcp.py')
| -rw-r--r-- | modules/ctcp.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/ctcp.py b/modules/ctcp.py index 031b39cd..a2b1fefb 100644 --- a/modules/ctcp.py +++ b/modules/ctcp.py @@ -1,5 +1,6 @@ import datetime + class Module(object): def __init__(self, bot): bot.events.on("received").on("message").on("private").hook( @@ -18,10 +19,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": @@ -29,4 +30,4 @@ class Module(object): if ctcp_response: event["user"].send_ctcp_response(ctcp_command, - ctcp_response) + ctcp_response) |
