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]
и сравни ошибку со своей.если у кого-то есть уже готовая программа, то буду премного благодарен
реализовывать ее с нуля ну совершенно нет желания
- Make sure you’re logged on to the Discord website.
- Navigate to the application page.
- Click on the bot you want to enable privileged intents for.
- Navigate to the bot tab on the left side of the screen.
- Scroll down to the “Privileged Gateway Intents” section and enable the ones you want.
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.