say commands fixed?

This commit is contained in:
raatty 2018-07-12 16:52:04 +12:00
parent a590768fb5
commit 7cf75718b4
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class bots_commands:
@commands.command(pass_context=True) @commands.command(pass_context=True)
async def say(self, ctx, *, something): async def say(self, ctx, *, something):
"""bot echos what you say then deletes your message""" """bot echos what you say then deletes your message"""
await self.bot.say("**{ctx.message.author} said:** {something}") await self.bot.say(f"**{ctx.message.author} said:** {something}")
await self.bot.delete_message(ctx.message) await self.bot.delete_message(ctx.message)
@commands.command(pass_context=True) @commands.command(pass_context=True)