From 2c5a2d9db3205f80e5440f399f2327efd6b1fe35 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 12 Sep 2019 10:24:02 +0100 Subject: [PATCH] add IRCChannel.send_invite() --- src/IRCChannel.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/IRCChannel.py b/src/IRCChannel.py index 01b0ad3a..7bb26305 100644 --- a/src/IRCChannel.py +++ b/src/IRCChannel.py @@ -224,6 +224,8 @@ class Channel(IRCObject.Object): return self.server.send_topic(self.name, topic) def send_part(self, reason: str=None): return self.server.send_part(self.name, reason) + def send_invite(self, target: str): + return self.server.send_invite(self.name, target) def mode_or_above(self, user: IRCUser.User, mode: str) -> bool: mode_orders = list(self.server.prefix_modes)