3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

ServiceBot: remove request/remove stubs for now

This commit is contained in:
James Lu 2016-07-23 19:57:05 -07:00
parent 7f7c8a8b51
commit e56c9640dc
2 changed files with 3 additions and 11 deletions

View File

@ -8,3 +8,5 @@ This folder contains general documentation for PyLink IRC services.
- [PyLink Relay Tutorial & Oper Guide](pylink-opers.md)
- [Automode & Exttargets Guide](automode.md)
- [Developer documentation](technical/)
There is also a (WIP) Doxygen-powered API reference at https://pylink.github.io/

View File

@ -159,7 +159,7 @@ class ServiceBot():
PyLink IRC Service class.
"""
def __init__(self, name, default_help=True, default_request=False, default_list=True,
def __init__(self, name, default_help=True, default_list=True,
nick=None, ident=None, manipulatable=False, extra_channels=None,
desc=None):
# Service name
@ -194,10 +194,6 @@ class ServiceBot():
if default_help:
self.add_cmd(self.help)
if default_request:
self.add_cmd(self.request)
self.add_cmd(self.remove)
if default_list:
self.add_cmd(self.listcommands, 'list')
@ -318,12 +314,6 @@ class ServiceBot():
else:
self._show_command_help(irc, command)
def request(self, irc, source, args):
self.reply(irc, "Request command stub called.")
def remove(self, irc, source, args):
self.reply(irc, "Remove command stub called.")
def listcommands(self, irc, source, args):
"""takes no arguments.