andersfylling / disgord

Go module for interacting with the documented Discord's bot interface; Gateway, REST requests and voice
BSD 3-Clause "New" or "Revised" License
496 stars 70 forks source link

Discord Slash Commands / Interactions #370

Closed zackartz closed 2 years ago

zackartz commented 3 years ago

Is your feature request related to a problem? Please describe. No, Discord just released new functionality to their API and I would use it if it was in the library.

Describe the solution you'd like I would like to have a easy to use interface to registering slash commands and a way to handle the "INTERACTION_CREATE" event.

Describe alternatives you've considered - optional Handling these by sending a post request and doing a raw WS connection is possible but having it in the library would be nice.

Additional context - optional https://discord.com/developers/docs/interactions/slash-commands

Thanks :)

andersfylling commented 3 years ago

Yes, I want this as well!

For anyone that wants to start messing around with this and contributing, there is a new branch: feature/slash-commands

related from discord: https://github.com/discord/discord-api-docs/issues/2490

vinicius507 commented 3 years ago

The Slash Commands branch development was halted?

beachasaurus-rex commented 2 years ago

The Slash Commands branch development was halted?

It seems to be done, I'm assuming, since #429 was merged into master. I'm guessing the issue just didn't get updated.

vinicius507 commented 2 years ago

The Slash Commands branch development was halted?

It seems to be done, I'm assuming, since #429 was merged into master. I'm guessing the issue just didn't get updated.

Thanks!