server.get_channel
was moved to server.channels.get
a long time ago (set.py)
This commit is contained in:
parent
a2e23acc61
commit
cd93118571
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class Module(ModuleManager.BaseModule):
|
|||
:require_access: channelset
|
||||
:permission: channelsetoverride
|
||||
"""
|
||||
channel = event["server"].get_channel(event["args_split"][0])
|
||||
channel = event["server"].channels.get(event["args_split"][0])
|
||||
self._set("channelset", event, channel, False, 1)
|
||||
|
||||
@utils.hook("received.command.channelset", channel_only=True,
|
||||
|
|
Loading…
Reference in a new issue