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)
|
nick = args.get('<nick>', mask.nick)
|
||||||
self.bot.action(target, 'fuckt {0} und tötet {0} anschließend.'.format(nick, nick))
|
self.bot.action(target, 'fuckt {0} und tötet {0} anschließend.'.format(nick, nick))
|
||||||
|
|
||||||
@command
|
@command(aliases=['anhero', 'sudoku'])
|
||||||
def anhero(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
def seppuku(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
||||||
"""Kicks a nick
|
"""Kicks a nick
|
||||||
|
|
||||||
%%anhero
|
%%seppuku
|
||||||
"""
|
"""
|
||||||
self.bot.kick(target, mask.nick, 'Sayonara bonzai-chan...')
|
self.bot.kick(target, mask.nick, 'Sayonara bonzai-chan...')
|
||||||
|
|
||||||
@command
|
# @command
|
||||||
def sudoku(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
# def anhero(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
||||||
"""Kicks a nick
|
# """Kicks a nick
|
||||||
|
#
|
||||||
%%sudoku
|
# %%anhero
|
||||||
"""
|
# """
|
||||||
self.anhero(mask, target, args)
|
# 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
|
@command
|
||||||
def hack(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
def hack(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user