Update test command

This commit is contained in:
Declan Chidlow 2024-07-13 19:14:20 +08:00
parent 0a29694764
commit 3111c35b98

View file

@ -3,22 +3,22 @@ import SimpleCommand from "../../../struct/commands/SimpleCommand";
import MessageCommandContext from "../../../struct/MessageCommandContext";
export default {
name: 'test',
aliases: [ 'testalias' ],
description: 'Test command',
category: CommandCategory.Miscellaneous,
run: (message: MessageCommandContext, args: string[]) => {
message.reply({
content: 'Beep boop.',
embeds: [
{
colour: "#ff0000",
description: "embed description",
title: "embed title",
url: "https://amogus.org",
icon_url: "https://amogus.org/amogus.png"
}
],
});
}
name: "test",
aliases: ["testalias"],
description: "Test command",
category: CommandCategory.Miscellaneous,
run: (message: MessageCommandContext, args: string[]) => {
message.reply({
content: "Beep boop.",
embeds: [
{
colour: "#58A551",
title: "Test Success!",
description: "You've successfully tested the bot. It works.",
url: "https://automod.vale.rocks",
icon_url: "https://autumn.revolt.chat/avatars/pYjK-QyMv92hy8GUM-b4IK1DMzYILys9s114khzzKY",
},
],
});
},
} as SimpleCommand;