UNPKG

arc.aoi

Version:

Arc.aoi is a Simple & Useful package created by JosipFX, which contains Custom Functions that literally make a new Coding Language! Its goal is to make it “literal” & “easy” as it can be!

23 lines (21 loc) 513 B
class ArcFunctions { constructor(args) { this.args = args; if (!args.client) { console.log("You have not specified your aoi client's name! Exiting Code!"); process.exit(0); } } loadArcFunctions() { const client = this.args.client; client.functionManager.createFunction({ name: "$hello", params: [ "message" ], type: "aoi.js", code: ` $sendMessage[{message}]` }); } } module.exports = { ArcFunctions };