constout=awaitexecutor(text.split(' '));// Run original executor func (await incase it's an async function)
if(!out.send){
goosemodScope.patcher.internalMessage(out.result);// PC impl. sends internal message when out.send === false, so we also do the same via our previous Patcher API function
return;
}
// When send is true, we send it as a message via sendMessage
sendMessage(getChannelId(),{
content:out.result,
tts:false,
invalidEmojis:[],
validNonShortcutEmojis:[]
});
},[
{type:3,required:false,name:'args',description:'Arguments for PC command'}// Argument for any string for compat. with PC's classical commands