Fix issue with last refactoring
This commit is contained in:
parent
b0f2f2f6e1
commit
79e95ab06c
@ -43,8 +43,8 @@ class FjerkroaBot(commands.Bot):
|
|||||||
self.aichannels = {chan_name: AIResponder(self.config, chan_name) for chan_name in self.config['additional-responders']}
|
self.aichannels = {chan_name: AIResponder(self.config, chan_name) for chan_name in self.config['additional-responders']}
|
||||||
|
|
||||||
def init_channels(self):
|
def init_channels(self):
|
||||||
self.staff_channel = self.fetch_channel_by_name(self.config['staff-channel'], no_ignore=True)
|
self.staff_channel = self.channel_by_name(self.config['staff-channel'], no_ignore=True)
|
||||||
self.welcome_channel = self.fetch_channel_by_name(self.config['welcome-channel'], no_ignore=True)
|
self.welcome_channel = self.channel_by_name(self.config['welcome-channel'], no_ignore=True)
|
||||||
|
|
||||||
async def on_ready(self):
|
async def on_ready(self):
|
||||||
self.init_channels()
|
self.init_channels()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user