#I'm not understanding this error. I've done it this way before?
1 messages · Page 1 of 1 (latest)
Self is implied and should not be passed, it will always be the first positional argument in a class function 🙂
ok but when I do self.list_all_roles(inter) I get an allocation error
Show it please 🙂
/home/mekasu/Documents/GitHub/GawtherBot/cogs/developers/roles.py:27: RuntimeWarning: coroutine 'RoleCommands.list_all_roles' was never awaited
self.list_all_roles(inter)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
and if I leave self in the parameters, but remove it from the functions prefix, then I get the function is undefined
I very much appreciate it ❤️ you have solved my problem 😄