From 7cf75718b495119913678691f5d14aa5c2d78013 Mon Sep 17 00:00:00 2001 From: raatty Date: Thu, 12 Jul 2018 16:52:04 +1200 Subject: [PATCH] say commands fixed? --- bot_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot_commands.py b/bot_commands.py index b8ee2d9..729fc15 100644 --- a/bot_commands.py +++ b/bot_commands.py @@ -28,7 +28,7 @@ class bots_commands: @commands.command(pass_context=True) async def say(self, ctx, *, something): """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) @commands.command(pass_context=True)