mirror of
https://github.com/miaowware/qrm2.git
synced 2024-11-26 09:48:41 -05:00
Merge pull request #104 from classabbyamp/echo-cmd
add command to echo a message as the bot in a channel
This commit is contained in:
commit
26765e86b6
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user