say commands fixed?
This commit is contained in:
parent
a590768fb5
commit
7cf75718b4
|
@ -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)
|
||||||
|
|
Reference in New Issue