add new func in voice bot
This commit is contained in:
@@ -425,7 +425,7 @@ async def update_user_info(source: str, message: types.Message):
|
||||
|
||||
|
||||
def check_user_emoji(user_id: int):
|
||||
if not BotDB.check_emoji_for_user(user_id=user_id):
|
||||
if BotDB.check_emoji_for_user(user_id=user_id) is None:
|
||||
user_emoji = get_random_emoji()
|
||||
BotDB.update_emoji_for_user(user_id=user_id, emoji=user_emoji)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user