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