Open TheBSGamer opened 2 years ago
@TheBSGamer PoshBot doesn't expose a web API so slash commands won't work (they POST to an endpoint provided by the bot). Slack has something called Socket mode, which allows the bot to receive slash commands, but through a websocket. This means the bot doesn't need to be accessible on the internet. Socket mode is something I'd like to explore so see if it would work and how we'd expose the PoshBot plugins as slash commands. If Discord has something similar to Slack's Socket mode, then this might be possible in the future.
Are there any plans to add support for Discord's slash command system? If there's a way to make this work for a layman like myself I'd be glad to give it a shot :) https://discord.com/developers/docs/interactions/application-commands
It looks like a POST just needs to be made to the bot to add the functionality but I'm not experienced enough with API's to know how to do it with Discord.
Expected Behavior
NA
Current Behavior
NA
Possible Solution
NA
Steps to Reproduce (for bugs)
NA
Context
NA
Your Environment