Closed crashmax-dev closed 5 months ago
Update: I added support for ! commands in https://github.com/FrankerFaceZ/FrankerFaceZ/commit/8807e09ea324db3def925a1e79aa05865879dd6b
This should simplify your logic a lot, since you can just specify that your commands have prefix: '!'
and they'll be displayed/inserted/completed that way.
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.![image](https://github.com/FrankerFaceZ/Add-Ons/assets/15673111/9c309319-fc23-4971-90a0-7b7cb4531be3)