We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 252eda8 + 19dd5f6 commit 822e94bCopy full SHA for 822e94b
1 file changed
plugins/jokes.py
@@ -91,10 +91,10 @@ def boobies(text, conn):
91
def awesome(text, message):
92
"""Prints a webpage to show <nick> how awesome they are."""
93
nick_re = re.compile("^[A-Za-z0-9_|.\-\]\[]*$", re.I)
94
- link = 'http://{}.is-awesome.cool/{}'
+ link = 'http://is-awesome.cool/{}'
95
nick = text.split(' ')[0]
96
if nick_re.match(nick):
97
- message("{}: I am blown away by your recent awesome action(s). Please read \x02{}\x02".format(nick, link.format(nick, nick)))
+ message("{}: I am blown away by your recent awesome action(s). Please read \x02{}\x02".format(nick, link.format(nick)))
98
else:
99
return "Sorry I can't tell {} how awesome they are.".format(nick)
100
0 commit comments