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

14 lines
431 B
TypeScript
Raw Normal View History

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