Selaa lähdekoodia

Got rid of useless format after editing the xkcd command.

tags/v1.8.0
Roxie Gibson 6 vuotta sitten
vanhempi
commit
8b0a75850f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      roxbot/cogs/fun.py

+ 1
- 1
roxbot/cogs/fun.py Näytä tiedosto

@@ -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"]))

Loading…
Peruuta
Tallenna