#Interaction error?
1 messages · Page 1 of 1 (latest)
async def first_button_callback(interaction):
試試
把button拿掉
hm
You're missing self you're in a class.
ohhhh
@bot.command
self是用在cog但你這裡是用@bot.command
那怎樣辦
It doesn't just take interaction
So it won't work
I have other question
The error literally says the function takes 2 arguments but 3 were given
yea yea yea
It'd obvious py-cord is passing 3 arguments
The question is
if the user type /setjoinId {id} then channelId will change