question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better name for executeSlashCommand

See original GitHub issue

Imo executeSlashCommand is a bad name and other functions are named eg. deleteSlashResponse. So imo we should find a better name for that.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Skillz4Killzcommented, Jan 25, 2021

I would prefer something like sendXXXX since we have sendMessage, sendDirectMessage and so on even in boilerplate we have sendEmbed, sendResponse etc…

0reactions
ghostcommented, Mar 8, 2021

As we discussed, sendInteractionResponse is API-compliant and unambiguous.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating slash commands - discord.js Guide
At a minimum, the definition of a slash command must have a name and a description. Slash command names must be between 1-32...
Read more >
Enabling interactivity with Slash Commands - Slack API
By enabling Slash Commands, your app can be summoned by users from any ... Command - the name of command, the actual string...
Read more >
Introduction to slash commands | Discord.Net Documentation
Slash commands are made up of a name, description, and a block of options, which you can think of like arguments to a...
Read more >
Discord slash commands using python - Stack Overflow
respond("You executed the slash command!") I tried replacing "bot = discord.Bot" with "bot = commands.Bot" but that didn't work either. The ...
Read more >
Discord.JS v13 - Slash Commands [Ep. 4] - YouTube
Slash Commands are a new feature Discord recently added to make commands more organized and user friendly. In this tutorial I'll show you ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found