'bot' -> '_bot'

This commit is contained in:
jesopo 2019-09-05 14:13:40 +01:00
parent 638df8729e
commit 0578d9ef5b

View file

@ -39,7 +39,7 @@ class ConfigChannelTarget(object):
self._bot.database.channel_settings.delete(channel_id, setting)
def get_user_setting(self, user_id, setting, default=None):
return self.bot.database.user_channel_settings.get(user_id,
return self._bot.database.user_channel_settings.get(user_id,
self._get_id(), setting, default)
class Module(ModuleManager.BaseModule):