Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

author nextcord interactions

##Using nextcord interactions
@client.slash_command(name="hello", description="Have the bot say hello to you.", guild_ids=[server_id])
async def command(interaction: Interaction):
    username = str(interaction.user)
    await interaction.response.send_message("Hello "+username)
 
PREVIOUS NEXT
Tagged: #author #nextcord #interactions
ADD COMMENT
Topic
Name
2+1 =