#button to only work for the command creator
1 messages · Page 1 of 1 (latest)
disnake.Message is just a class to hold data for a specific message, you cant use it like that
it wouldnt make sense since how would it know what message you mean
AttributeError: 'ApplicationCommandInteraction' object has no attribute 'message'
I assumed this code was a MessageInteraction
want to print the code?
you cant restrict a button to only be interacted with by a specific person when you send it
youll have to do the check when the button is clicked
hmmmmm
i want to make it only work with the person who ran the command
yea, do that check when the button is clicked
ok thanks
the assist button does not work
where are you listening for the button click, either a listener or a callback
Because a listener function or proper callback would be cleaner
and how am i supposed to do what i want on top?