feat(TextChannel): add searchInteraction
This commit is contained in:
@@ -47,17 +47,6 @@ await message.contextMenu(botID, commandName);
|
||||
```
|
||||
</details>
|
||||
<details open>
|
||||
<summary>Issue ?</summary>
|
||||
|
||||
- It has some minor bugs.
|
||||
```js
|
||||
DiscordAPIError [20012] You are not authorized to perform this action on this application
|
||||
Fix it: creating 1 DMs with bot
|
||||
In this way, all Slash commands can be obtained
|
||||
```
|
||||
- With Gateway guild.searchInteraction() (using gateway)
|
||||
- With REST: Working ! [TextBasedChannel.sendSlash()].
|
||||
</details>
|
||||
|
||||
## MessageEmbed ?
|
||||
- Because Discord has removed the ability to send Embeds in its API, that means MessageEmbed is unusable. But I have created a constructor that uses oEmbed with help [from this site](https://www.reddit.com/r/discordapp/comments/82p8i6/a_basic_tutorial_on_how_to_get_the_most_out_of/)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# Slash command demo
|
||||
- Support Autocomplete feature (half)
|
||||
- Unused `guild.searchInteraction()` (Use only if not working properly)
|
||||
- Unused `guild.searchInteraction()` (Deleted)
|
||||
|
||||
# <strong>BREAKING CHANGE: Using Slash Command (Sub Command / Sub Group Command) will not accept subCommand argument in args. That means Command Name needs to be changed same as Discord Client</strong>
|
||||
|
||||
|
Reference in New Issue
Block a user