#nothing working, so confused send help
1 messages · Page 1 of 1 (latest)
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?
alr alr
well i mean its coming up now but when i run it, it says the application did not respond, the bot is definitely online
uuuhhh, and no errors in the console?
unfortunately not
so, ig you have restarted your bot. No duplicated bot instances?
bcs i have no clue right now what's the problem
definitely not unless they r running in the background lemme use task manager
yeah i dont see anything
yeah i mean they definitely come up i just get the application did not respond
kinda weird, are bot intents and premissions ok? Also it could be network issues, but not sure. idk
yeah
i mean
it just fixed itself
i just ran it again
didnt change code at all
and it worked
so confusing
it could take a time for a global command to sync
yeah possibly
do you know how you can receive the response from a button? idk if that makes sense
take a look at the official examples
https://github.com/nextcord/nextcord/blob/master/examples/views/confirm.py
A Python wrapper for the Discord API forked from discord.py - nextcord/nextcord