-
Notifications
You must be signed in to change notification settings - Fork 64
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
Twir add-on #207
Twir add-on #207
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there! Thanks for submitting a new add-on.
The big thing here is that you need to set enabled
to true
in your manifest for the add-on to get built. Everything else is technically fine, but I suggest you change how you're handling when rooms are added/removed as discussed in my comments.
As an aside, I think this is super neat. I've always intended to eventually have a bot command tab-completion thing in FrankerFaceZ but I've never actually gotten around to it. I might have to see if I can mess with the command autocomplete provider to let us just specify a command uses something other than /
in order to remove the need for a pre-send event here.
Update: I added support for ! commands in FrankerFaceZ/FrankerFaceZ@8807e09 This should simplify your logic a lot, since you can just specify that your commands have Example: ffz.on('chat:get-tab-commands', e => e.commands.push({
prefix: '!',
name: '8ball',
description: 'oooooo spoookey',
permissionLevel: 0,
ffz_group: 'Quoteconut (Bot)',
commandArgs: [
{name: 'question', isRequired: true}
]
})); |
This add-on for https://twir.app adds a command suggestion.
