Skip to content

Commit f15c086

Browse files
committed
Changed URL
Changed URL for the .cool command to the current, correct URL and updated the output accordingly.
1 parent ca1a49f commit f15c086

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/jokes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def load_jokes(bot):
2929

3030
with codecs.open(os.path.join(bot.data_dir, "wisdom.txt"), encoding="utf-8") as f:
3131
wisdom = [line.strip() for line in f.readlines() if not line.startswith("//")]
32-
32+
3333
with codecs.open(os.path.join(bot.data_dir, "book_puns.txt"), encoding="utf-8") as f:
3434
book_puns = [line.strip() for line in f.readlines() if not line.startswith("//")]
3535

@@ -91,10 +91,10 @@ def boobies(text, conn):
9191
def awesome(text, message):
9292
"""Prints a webpage to show <nick> how awesome they are."""
9393
nick_re = re.compile("^[A-Za-z0-9_|.\-\]\[]*$", re.I)
94-
link = 'http://{}.is-awesome.cool/{}'
94+
link = 'http://is-awesome.cool/{}'
9595
nick = text.split(' ')[0]
9696
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)))
97+
message("{}: I am blown away by your recent awesome action(s). Please read \x02{}\x02".format(nick, link.format(nick)))
9898
else:
9999
return "Sorry I can't tell {} how awesome they are.".format(nick)
100100

0 commit comments

Comments
 (0)