Skip to content

Commit

Permalink
Auto delete added
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanjiroop authored May 15, 2024
1 parent f886909 commit 0b0da07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/users_chats_db.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# https://github.com/odysseusmax/animated-lamp/blob/master/bot/database/database.py
import motor.motor_asyncio
from info import DATABASE_NAME, DATABASE_URI, IMDB, IMDB_TEMPLATE, MELCOW_NEW_USERS, P_TTI_SHOW_OFF, SINGLE_BUTTON, SPELL_CHECK_REPLY, PROTECT_CONTENT

from info import *
class Database:

def __init__(self, uri, database_name):
Expand Down Expand Up @@ -114,6 +113,7 @@ async def get_settings(self, id):
'imdb': IMDB,
'spell_check': SPELL_CHECK_REPLY,
'welcome': MELCOW_NEW_USERS,
'auto_delete': AUTO_DELETE,
'template': IMDB_TEMPLATE
}
chat = await self.grp.find_one({'id':int(id)})
Expand Down

0 comments on commit 0b0da07

Please sign in to comment.