add IRCChannel.send_invite()
This commit is contained in:
parent
2bd7d591c3
commit
2c5a2d9db3
1 changed files with 2 additions and 0 deletions
|
@ -224,6 +224,8 @@ class Channel(IRCObject.Object):
|
||||||
return self.server.send_topic(self.name, topic)
|
return self.server.send_topic(self.name, topic)
|
||||||
def send_part(self, reason: str=None):
|
def send_part(self, reason: str=None):
|
||||||
return self.server.send_part(self.name, reason)
|
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:
|
def mode_or_above(self, user: IRCUser.User, mode: str) -> bool:
|
||||||
mode_orders = list(self.server.prefix_modes)
|
mode_orders = list(self.server.prefix_modes)
|
||||||
|
|
Loading…
Reference in a new issue