if iduser != АЙДИ1 and iduser != АЙДИ2:
if iduser not in [АЙДИ1, АЙДИ2]:
cursor.execute('INSERT OR IGNORE bazaa (user_id, user_name, username) VALUES (?, ?, ?)', (user_id, user_name, username))
INSERT INTO USERS (user_id, username, first_name, last_name) VALUES ({user}, "{username}", "{first_name}", "{last_name}", "{ctime()}");
role_id = {}".format(role.id)
None[0]
и сравни ошибку со своей.By default, this function will return the data as encoded bytes. The actual encoding of the output data may depend on the command being invoked, so the decoding to text will often need to be handled at the application level.