Add a full messagee
This commit is contained in:
parent
0c30aca9d9
commit
77848aef01
|
@ -142,7 +142,7 @@ class Owner:
|
|||
|
||||
@commands.command()
|
||||
@commands.check(utils.is_owner)
|
||||
async def sendtochannel(self, ctx, cid: int, message):
|
||||
async def sendtochannel(self, ctx, cid: int, *, message):
|
||||
"""Sends a message to a provided channel, by ID"""
|
||||
channel = self.bot.get_channel(cid)
|
||||
await channel.send(message)
|
||||
|
|
Loading…
Reference in a new issue