1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Added back the say command

This commit is contained in:
Phxntxm 2016-07-09 14:14:38 -05:00
parent e2b300f604
commit 4ddd6f6ac7

View file

@ -48,6 +48,13 @@ class Mod:
await self.bot.say('Why must I leave? Hopefully I can come back :c')
await self.bot.leave_server(ctx.message.server)
@commands.command(pass_context=True)
@checks.isMod()
async def say(self, ctx, *msg: str):
"""Tells the bot to repeat what you say"""
msg = ' '.join(msg)
await self.bot.say(msg)
await self.bot.delete_message(ctx.message)
@commands.command()
@checks.isAdmin()