#nothing working, so confused send help

1 messages · Page 1 of 1 (latest)

dreamy schooner
#

even tried using chatgpt the all knowing super powerful ai

split lagoon
#

try using docs first, there is no tree in nextcord

#

=docs nextcord.slash_command

split lagoon
#

that's what you need for a slash command

dreamy schooner
#

ahhhhh

#

give me one second

dreamy schooner
# split lagoon that's what you need for a slash command

hm so ive changed it too:
@bot.slash_command(name="ping", description="Ping the bot to check if it's online")
async def ping(interaction: nextcord.Interaction):
await interaction.response.send_message("Pong!")

yet it doesnt come up when u type /
is their any kind of synchronization i have too use?

split lagoon
#

it does automatically

#

try to restart discord client

dreamy schooner
#

alr alr

dreamy schooner
split lagoon
#

uuuhhh, and no errors in the console?

dreamy schooner
#

unfortunately not

split lagoon
#

so, ig you have restarted your bot. No duplicated bot instances?

#

bcs i have no clue right now what's the problem

dreamy schooner
#

yeah i dont see anything

#

yeah i mean they definitely come up i just get the application did not respond

split lagoon
#

kinda weird, are bot intents and premissions ok? Also it could be network issues, but not sure. idk

dreamy schooner
#

yeah

#

i mean

#

it just fixed itself

#

i just ran it again

#

didnt change code at all

#

and it worked

#

so confusing

split lagoon
#

it could take a time for a global command to sync

dreamy schooner
#

yeah possibly

#

do you know how you can receive the response from a button? idk if that makes sense

split lagoon
dreamy schooner
#

thanks

#

idk how to close this ticket so like