You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Module version used: 0.14.0
Operating System and PowerShell version: Windows 10 PowerShell 7.2.0
The text was updated successfully, but these errors were encountered:
@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
The text was updated successfully, but these errors were encountered: