Bladeren bron

Got rid of useless format after editing the xkcd command.

tags/v1.8.0
Roxie Gibson 6 jaren geleden
bovenliggende
commit
8b0a75850f
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      roxbot/cogs/fun.py

+ 1
- 1
roxbot/cogs/fun.py Bestand weergeven



# If we couldn't find anything, return an error. # If we couldn't find anything, return an error.
if not comic: 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: else:
# Otherwise, show the comic # Otherwise, show the comic
embed = Embed(title=comic["safe_title"], description="xkcd #{} by Randall Munroe".format(comic["num"])) embed = Embed(title=comic["safe_title"], description="xkcd #{} by Randall Munroe".format(comic["num"]))

Laden…
Annuleren
Opslaan