Sfoglia il codice sorgente

Got rid of useless format after editing the xkcd command.

tags/v1.8.0
Roxie Gibson 6 anni fa
parent
commit
8b0a75850f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      roxbot/cogs/fun.py

+ 1
- 1
roxbot/cogs/fun.py Vedi File

@@ -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…
Annulla
Salva