fix: use clean prefix in code blocks (#3591)

This commit is contained in:
jack1142
2020-02-28 21:23:13 +01:00
committed by GitHub
parent 7b042be9db
commit eedec4ff02
12 changed files with 42 additions and 38 deletions

View File

@@ -297,7 +297,7 @@ class Admin(commands.Cog):
await ctx.send(_("The announcement has begun."))
else:
prefix = ctx.prefix
prefix = ctx.clean_prefix
await ctx.send(_(RUNNING_ANNOUNCEMENT).format(prefix=prefix))
@announce.command(name="cancel")