Added seppuku and aliased it with anhero + sudoku
This commit is contained in:
parent
cc279c39e0
commit
5e16d8c4b0
|
@ -266,21 +266,29 @@ class Useless(DatabasePlugin):
|
|||
nick = args.get('<nick>', mask.nick)
|
||||
self.bot.action(target, 'fuckt {0} und tötet {0} anschließend.'.format(nick, nick))
|
||||
|
||||
@command
|
||||
def anhero(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
||||
@command(aliases=['anhero', 'sudoku'])
|
||||
def seppuku(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
||||
"""Kicks a nick
|
||||
|
||||
%%anhero
|
||||
%%seppuku
|
||||
"""
|
||||
self.bot.kick(target, mask.nick, 'Sayonara bonzai-chan...')
|
||||
|
||||
@command
|
||||
def sudoku(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
||||
"""Kicks a nick
|
||||
|
||||
%%sudoku
|
||||
"""
|
||||
self.anhero(mask, target, args)
|
||||
# @command
|
||||
# def anhero(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
||||
# """Kicks a nick
|
||||
#
|
||||
# %%anhero
|
||||
# """
|
||||
# self.bot.kick(target, mask.nick, 'Sayonara bonzai-chan...')
|
||||
#
|
||||
# @command
|
||||
# def sudoku(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
||||
# """Kicks a nick
|
||||
#
|
||||
# %%sudoku
|
||||
# """
|
||||
# self.anhero(mask, target, args)
|
||||
|
||||
@command
|
||||
def hack(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
||||
|
|
Loading…
Reference in New Issue
Block a user