mirror of
https://github.com/keanuplayz/TravBot-v3.git
synced 2024-08-15 02:33:12 +00:00
19 lines
539 B
TypeScript
19 lines
539 B
TypeScript
import {NamedCommand, RestCommand} from "../../core";
|
|
import figlet from "figlet";
|
|
|
|
export default new NamedCommand({
|
|
description: "Generates a figlet of your input.",
|
|
run: "You have to provide input for me to create a figlet!",
|
|
any: new RestCommand({
|
|
async run({send, combined}) {
|
|
return send(
|
|
figlet.textSync(combined, {
|
|
horizontalLayout: "full"
|
|
}),
|
|
{
|
|
code: true
|
|
}
|
|
);
|
|
}
|
|
})
|
|
});
|