Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Comments

[feat][P-337] Chatbot submission endpoints#30

Merged
markflorkowski merged 4 commits intomainfrom
mark/fossabot-submit
Nov 22, 2022
Merged

[feat][P-337] Chatbot submission endpoints#30
markflorkowski merged 4 commits intomainfrom
mark/fossabot-submit

Conversation

@markflorkowski
Copy link
Contributor

@markflorkowski markflorkowski commented Nov 14, 2022

To use:

  1. Create a custom command on Fossabot with the response
    $(customapi https://ask.ping.gg/api/external/fossabot)
  2. Any messages sent to this command on your channel will be added to your question queue.

Nightbot:

$(urlfetch https://ask.ping.gg/api/external/chatbots?q=$(querystring)&channel=$(channel)&user=$(user))

StreamElements:

${urlfetch https://ask.ping.gg/api/external/chatbots?channel=${channel}&q=${queryescape ${1:}}&user=${user}}

Future improvements:

  • Support other chat bots
    • Note that other bots don't offer a way to verify request came from them (maybe add a key query param?)
  • Maybe have a Ping-hosted chatbot (no reliance on using another chatbot)
  • Non-anonymous question submission

@vercel
Copy link

vercel bot commented Nov 14, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
zapdos ✅ Ready (Inspect) Visit Preview Nov 15, 2022 at 11:57PM (UTC)

@markflorkowski markflorkowski changed the title [feat] Fossabot submission endpoint [feat][P-337] Fossabot submission endpoint Nov 15, 2022
@markflorkowski markflorkowski marked this pull request as ready for review November 22, 2022 00:02
@markflorkowski markflorkowski changed the title [feat][P-337] Fossabot submission endpoint [feat][P-337] Chatbot submission endpoints Nov 22, 2022
@markflorkowski markflorkowski merged commit be7c9aa into main Nov 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant