#Interaction error?

1 messages · Page 1 of 1 (latest)

wary nest
#

Interaction error?

flat lantern
wary nest
#

@flat lantern

flat lantern
#

試試

#

把button拿掉

wary nest
#

hm

sand heart
wary nest
flat lantern
#

@bot.command

wary nest
#

?

#

我有別的問題

flat lantern
wary nest
flat lantern
#

async def first_button_callback(interaction):

#

把button拿掉

wary nest
#

ok

#

done

sand heart
#

So it won't work

wary nest
#

I have other question

sand heart
#

The error literally says the function takes 2 arguments but 3 were given

sand heart
#

It'd obvious py-cord is passing 3 arguments

wary nest
#

The question is
if the user type /setjoinId {id} then channelId will change

sand heart
#

Then you need a database

#

To store the channel ID set by the user