Open DeMaximilianster opened 4 years ago
if message.chat.username: database.change('public', 'type', 'chats', ('id', message.chat.id)) database.change(message.chat.username, 'link', 'chats', ('id', message.chat.id)) else: database.change('private', 'type', 'chats', ('id', message.chat.id)) database.change('None', 'link', 'chats', ('id', message.chat.id))