Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add autocompletion for FossaBot & StreamElements commands #2793

Open
jupjohn opened this issue May 19, 2021 · 6 comments
Open

Add autocompletion for FossaBot & StreamElements commands #2793

jupjohn opened this issue May 19, 2021 · 6 comments
Assignees

Comments

@jupjohn
Copy link
Contributor

jupjohn commented May 19, 2021

Describe your issue

Remembering commands of bots can be very tedious.

A possible solution would be to allow auto completing commands from an external sources in the input.

StreamElements API endpoints:

  • https://api.streamelements.com/kappa/v2/channels/<channel_login>
    • Provides SE-specific info for the given channel (username, not channel ID)
  • https://api.streamelements.com/kappa/v2/bot/commands/<se_channel_id>/default
    • Provides the list of default commands SE offers for this channel
    • <se_channel_id> is an ID generated by StreamElements and is available in the previous call's _id property
  • https://api.streamelements.com/kappa/v2/bot/commands/<se_channel_id>/channel
    • Provides a list of channel-specific commands

Fossabot API endpoints:

  • https://api-v1.fossabot.com/api/v1/<channel_login>/public-commands
    • Provides all commands for the specified channel name

fourtf: edited to fit issue template

@fourtf
Copy link
Member

fourtf commented May 19, 2021

From the issue it isn't immediately clear what issue this solves . "QOL" doesn't cut it. Please edit this issue with the issue template and rephrase it as an issue (e.g., remembering commands of bots is very tedious).

For the actual problem I could see there being a Chatterino controlled API that allows people to add their bots to the list. Manually calling 50 apis for every big and tiny bot is infeasible.

@fourtf
Copy link
Member

fourtf commented May 19, 2021

As @pajlada Discord seems to handle commands by bots similarly, where they show the bots commands when typing a command with /

@jupjohn
Copy link
Contributor Author

jupjohn commented May 19, 2021

Didn't use a template as the feature template has disappeared :\ If you want it done in an issue template I can do.
Will rewrite, words didn't come out in a logical order :)

Cheers 4tf

@fourtf fourtf added the issue-report An issue reported by a user. label May 19, 2021
@fourtf
Copy link
Member

fourtf commented May 19, 2021

updated to fit the template

@fourtf fourtf self-assigned this May 20, 2021
@jupjohn jupjohn changed the title [Feature] Add autocompletion for FossaBot & StreamElements commands Add autocompletion for FossaBot & StreamElements commands May 26, 2021
@ALazyMeme ALazyMeme added enhancement and removed issue-report An issue reported by a user. labels Aug 1, 2021
@jupjohn
Copy link
Contributor Author

jupjohn commented Aug 29, 2021

@fourtf any further thoughts on this or are you saving it for a rainy day?

@fourtf
Copy link
Member

fourtf commented Aug 29, 2021

I'll take a look at it today

@ALazyMeme ALazyMeme mentioned this issue Aug 30, 2021
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants