async def commandEmpty(args: ChatCommandArgs) -> bool: return channel.empty(args.message.lower[1], send(args.chat))
async def commandManageBot(args: ChatCommandArgs) -> bool: return await managebot.manage_bot(args.data, args.permissions, send(args.chat), args.nick, args.message)
async def commandJoin(args: ChatCommandArgs) -> bool: return await channel.join(args.message.lower[1], send(args.chat))
async def commandEmptyAll(args: ChatCommandArgs) -> bool: return channel.empty_all(send(args.chat))
async def commandFeature(args: ChatCommandArgs) -> bool: return await library.feature(args.data, args.chat.channel, args.message, send(args.chat))
async def commandAutoJoin(args: ChatCommandArgs) -> bool: return await library.auto_join(args.nick, send(args.chat), args.message)
async def commandLeave(args: ChatCommandArgs) -> bool: return await library.leave(args.chat.channel, send(args.chat))
async def commandCome(args: ChatCommandArgs) -> bool: return await library.come(args.nick, send(args.chat))
def test_send(self): self.assertIs(chat.send(self.channel), self.channel.send) chat.send(self.channel)('Kappa') self.channel.send.assert_called_once_with('Kappa')