1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Add a full messagee

This commit is contained in:
Phxntxm 2017-05-05 15:58:17 -05:00
parent 0c30aca9d9
commit 77848aef01

View file

@ -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)