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

Correct type for channel ID

This commit is contained in:
Phxntxm 2017-05-05 15:55:18 -05:00
parent 1d859e0995
commit 005ac4179b

View file

@ -142,7 +142,7 @@ class Owner:
@commands.command()
@commands.check(utils.is_owner)
async def sendtochannel(self, ctx, cid, 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)