From cd93118571b747a6360650d837d25a6dfdea3a1e Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 30 Jan 2019 19:40:20 +0000 Subject: [PATCH] `server.get_channel` was moved to `server.channels.get` a long time ago (set.py) --- modules/set.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/set.py b/modules/set.py index 082117fb..2753cdbb 100644 --- a/modules/set.py +++ b/modules/set.py @@ -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,