#await MainGuild.commands.permissions.set([ fullPermissions ]);
1 messages · Page 1 of 1 (latest)
Let me show you the code first
can you paste your definition for fullPermissions again
why bother
Doesnt work
ok
can you do mea favor
above the
await MainGuild.commands.permissions.set([{ fullPermissions }]);
do
console.log(fullPermissions)
and tell me
My file auto saves btw so it can't be that the file isnt saved
Which type
is this for a role or a user
role
oh
wait
ok i have no idea whaty ou're doing here but
@native locust for clarification
what arey ou doing
Since it's my Slash/Command Handler
you need a type property yeah
since you're doing it per role
just put a type: "ROLE"
in each object
wait
ok sorry
but im so fucking confused what's going on here
Yep
tell me that for fullPermissions
should be an array of <GuildApplicationCommandPermissionData>
does it work?
ok thank god
that threw me off
I was looking at the code and saw that true and was like, wait a min, this donst make sense here because fullPermissions is declared but not read