#How to fix this

1 messages · Page 1 of 1 (latest)

drifting shadow
#

read the error

#

it says user is not defined

#

you need to take disnake.Member param somewhere

manic sundialBOT
#

property roles```
A [`list`](https://docs.python.org/3/library/stdtypes.html#list "(in Python v3.11)") of [`Role`](https://docs.disnake.dev/en/latest/api/roles.html#disnake.Role "disnake.Role") that the member belongs to. Note that the first element of this list is always the default [‘@everyone](mailto:'%40everyone)’ role.

These roles are sorted by their position in the role hierarchy.
crude saddle
#

must be inter.user.roles