Bla
This commit is contained in:
parent
8755e58c4e
commit
84d0a30a52
|
@ -37,10 +37,10 @@ class Useless(Plugin):
|
||||||
def same(self, channel: str):
|
def same(self, channel: str):
|
||||||
self.bot.privmsg(channel, 'same')
|
self.bot.privmsg(channel, 'same')
|
||||||
|
|
||||||
@irc3.event(r'(?i)^:\S+ PRIVMSG (?P<channel>\S+) :\[(?P<data>.*)\]$')
|
@irc3.event(r'(?i)^:\S+ PRIVMSG (?P<channel>\S+) :\[(?P<msg>.*)\]$')
|
||||||
def intensifies(self, channel: str, data: str):
|
def intensifies(self, channel: str, msg: str):
|
||||||
self.bot.privmsg(channel, '\x02[{data} INTENSIFIES]'.format(
|
self.bot.privmsg(channel, '\x02[{msg} INTENSIFIES]'.format(
|
||||||
data=data.upper()))
|
msg=msg.upper()))
|
||||||
|
|
||||||
@command
|
@command
|
||||||
def storyofpomfface(self, mask: IrcString, channel: IrcString,
|
def storyofpomfface(self, mask: IrcString, channel: IrcString,
|
||||||
|
@ -70,8 +70,8 @@ class Useless(Plugin):
|
||||||
%%jn
|
%%jn
|
||||||
"""
|
"""
|
||||||
choice = random.choice(['3Ja', '5Nein'])
|
choice = random.choice(['3Ja', '5Nein'])
|
||||||
return '{nick}: \x02\x03%s'.format(choice=choice,
|
return '{nick}: \x02\x03{choice}'.format(nick=mask.nick,
|
||||||
nick=mask.nick)
|
choice=choice)
|
||||||
|
|
||||||
@command
|
@command
|
||||||
def kiss(self, mask: IrcString, channel: IrcString, args: DocOptDict):
|
def kiss(self, mask: IrcString, channel: IrcString, args: DocOptDict):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user