Pārlūkot izejas kodu

Got rid of useless format after editing the xkcd command.

tags/v1.8.0
Roxie Gibson pirms 6 gadiem
vecāks
revīzija
8b0a75850f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      roxbot/cogs/fun.py

+ 1
- 1
roxbot/cogs/fun.py Parādīt failu

@@ -417,7 +417,7 @@ class Fun:

# If we couldn't find anything, return an error.
if not comic:
return await ctx.send("Couldn't find that comic.".format(ctx.message.author.mention))
return await ctx.send("Couldn't find that comic.")
else:
# Otherwise, show the comic
embed = Embed(title=comic["safe_title"], description="xkcd #{} by Randall Munroe".format(comic["num"]))

Notiek ielāde…
Atcelt
Saglabāt