Closed lorddev closed 3 years ago
I solved the slash command response issue using
HttpClient client = new HttpClient();
await client.PostAsync(request.response_url,
new StringContent(JsonConvert.SerializeObject(new
{
text = "I want to fill your computer with beans but all I could find was this potato 🥔"
})));
But I still don't know why I can't post to #general. Which scope is required for that?
Not really the best place for this question; turned out to not be a code issue.
When I use my slash command, the response is only visible when I chat directly with the bot, but doesn't work when I post in #general.
No errors are thrown.