Remove dead or useless code
This commit is contained in:
parent
9935e038fc
commit
ac33ceb579
41 changed files with 15 additions and 80 deletions
|
|
@ -1,5 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Nemubot is a smart and modulable IM bot.
|
||||
# Copyright (C) 2012-2015 Mercier Pierre-Olivier
|
||||
#
|
||||
|
|
@ -18,17 +16,18 @@
|
|||
|
||||
"""Progressive display of very long messages"""
|
||||
|
||||
# PYTHON STUFFS #######################################################
|
||||
|
||||
import logging
|
||||
import sys
|
||||
|
||||
from nemubot.message import Text, DirectAsk
|
||||
from nemubot.hooks import hook
|
||||
|
||||
nemubotversion = 3.4
|
||||
|
||||
logger = logging.getLogger("nemubot.response")
|
||||
|
||||
|
||||
# MODULE CORE #########################################################
|
||||
|
||||
class Response:
|
||||
|
||||
def __init__(self, message=None, channel=None, nick=None, server=None,
|
||||
|
|
@ -237,6 +236,8 @@ class Response:
|
|||
SERVERS = dict()
|
||||
|
||||
|
||||
# MODULE INTERFACE ####################################################
|
||||
|
||||
@hook("all_post")
|
||||
def parseresponse(res):
|
||||
# TODO: handle inter-bot communication NOMORE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue