add command to echo a message as the bot in a channel.

Command errors are not handled because that will be done in #22. Fixes #77
This commit is contained in:
Abigail 2019-12-10 00:47:40 -05:00
parent 64cfdeec1e
commit ba1b7e947f

View File

@ -163,6 +163,13 @@ class BaseCog(commands.Cog):
await ctx.send(embed=embed)
@commands.command(name="echo", aliases=["e"], hidden=True)
@commands.check(cmn.check_if_owner)
async def _echo(self, ctx: commands.Context, channel: commands.TextChannelConverter, *, msg: str):
"""Send a message in a channel as qrm. Only works within a server or DM to server,
not between servers."""
await channel.send(msg)
def parse_changelog():
changelog = OrderedDict()