TravBot-v3/src/commands/utility/say.ts

14 lines
372 B
TypeScript
Raw Normal View History

2020-12-15 01:44:28 +00:00
import Command from "../../core/command";
export default new Command({
description: "Repeats your message.",
usage: "<message>",
run: "Please provide a message for me to say!",
any: new Command({
description: "Message to repeat.",
async run($) {
2020-12-15 01:44:28 +00:00
$.channel.send(`*${$.author} says:*\n${$.args.join(" ")}`);
}
})
});