summaryrefslogtreecommitdiff
path: root/src/sound_bot.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-01-12 01:00:29 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-01-12 01:00:29 +0300
commite00fb0ff2c7ba826e2545d1038ac71575f5c5741 (patch)
tree0e112c82808680c0bcb76ba8f2e6c0fca08efa31 /src/sound_bot.py
parent6ae92c8917b2c38ad8d971e840b3ae2abc15e79f (diff)
sound_bot fix
Diffstat (limited to 'src/sound_bot.py')
-rwxr-xr-xsrc/sound_bot.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sound_bot.py b/src/sound_bot.py
index 59d065a..186337a 100755
--- a/src/sound_bot.py
+++ b/src/sound_bot.py
@@ -304,7 +304,7 @@ class RecordRenderer(Renderer):
@classmethod
def record_done(cls, info: dict, node: str, uid: int) -> str:
- ulang = bot.store.get_user_lang(uid)
+ ulang = bot.db.get_user_lang(uid)
def lang(key, *args):
return bot.lang.get(key, ulang, *args)
@@ -324,7 +324,7 @@ class RecordRenderer(Renderer):
@classmethod
def record_error(cls, info: dict, node: str, uid: int) -> str:
- ulang = bot.store.get_user_lang(uid)
+ ulang = bot.db.get_user_lang(uid)
def lang(key, *args):
return bot.lang.get(key, ulang, *args)
@@ -471,7 +471,7 @@ class CamerasRenderer(Renderer):
#
# @classmethod
# def record_done(cls, info: dict, node: str, uid: int) -> str:
- # ulang = bot.store.get_user_lang(uid)
+ # ulang = bot.db.get_user_lang(uid)
#
# def lang(key, *args):
# return bot.lang.get(key, ulang, *args)
@@ -491,7 +491,7 @@ class CamerasRenderer(Renderer):
#
# @classmethod
# def record_error(cls, info: dict, node: str, uid: int) -> str:
- # ulang = bot.store.get_user_lang(uid)
+ # ulang = bot.db.get_user_lang(uid)
#
# def lang(key, *args):
# return bot.lang.get(key, ulang, *args)