SwitchCraftCC / issues

Report general bugs for the SwitchCraft 3 server here. This tracker is NOT for exploits - please disclose those responsibly and privately to a member of staff.
1 stars 0 forks source link

[Feature Request] Ability to run chatbox commands through chatboxes. #86

Closed stealthy-coder closed 1 year ago

stealthy-coder commented 1 year ago

I suggest a way to run \ commands via chatboxes, authenticated with a chatbox key. The command syntax could be like chatbox.run(command, arg1, arg2, arg3, arg4) without any limit on arguments, or chatbox.run(command, args), where args is a string formatted like 'arg arg2 arg3 arg4'. When running this, the user would be identified as the chatbox license holder.

This could be useful for obtaining specific types of data from chatboxes that lack their own website API. Usage restrictions could be imposed, such as a queue size similar to chatbox.tell, or even smaller.

Lemmmy commented 1 year ago

Thanks for the suggestion - see here for my thoughts: https://discord.com/channels/198130613759246337/1057706496579883088/1097522531201716306