2021-04-13 12:38:52 +00:00
|
|
|
import {NamedCommand, RestCommand} from "onion-lasers";
|
2020-12-15 01:44:28 +00:00
|
|
|
|
2021-04-05 04:35:12 +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!",
|
2021-04-10 17:07:55 +00:00
|
|
|
any: new RestCommand({
|
2020-12-15 01:44:28 +00:00
|
|
|
description: "Message to repeat.",
|
2021-04-11 09:11:21 +00:00
|
|
|
async run({send, author, combined}) {
|
2021-04-10 17:07:55 +00:00
|
|
|
send(`*${author} says:*\n${combined}`);
|
2020-12-15 01:44:28 +00:00
|
|
|
}
|
|
|
|
})
|
|
|
|
});
|