13 lines
262 B
TypeScript
13 lines
262 B
TypeScript
import {Command} from "../Command";
|
|
|
|
const echolog = new Command(
|
|
'echolog',
|
|
(message, args) => {
|
|
console.log("Echolog:");
|
|
for (const arg of args)
|
|
console.log(arg);
|
|
},
|
|
{
|
|
description: "Echo's the arguments on the console"
|
|
});
|
|
export default echolog; |