import {NamedCommand, RestCommand} from "onion-lasers"; import {processEmoteQuery} from "./modules/emote-utils"; export default new NamedCommand({ description: "Send the specified emote list. Enter + to move an emote list to the next line, - to add a space, and _ to add a zero-width space.", run: "Please provide a list of emotes.", any: new RestCommand({ description: "The emote(s) to send.", usage: "", async run({send, args}) { const output = processEmoteQuery(args, true).join(""); if (output.length > 0) send(output); } }) });