Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit d7e01e8

Browse files
Added info.ts
1 parent 2f05e4d commit d7e01e8

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

src/commands/misc/info.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import { EmbedBuilder, ChatInputCommandInteraction } from "discord.js";
2+
import { KOGBot } from "../../index.js";
3+
4+
class InfoCommand implements SlashCommand {
5+
name = 'info';
6+
description = 'General information on the bot.';
7+
subcommands = [];
8+
parameters = []
9+
dev = true;
10+
kogBot: KOGBot;
11+
12+
constructor(kogBot: KOGBot) {
13+
this.kogBot = kogBot;
14+
}
15+
16+
async execute(interaction: ChatInputCommandInteraction): Promise<void> {
17+
18+
const embed = new EmbedBuilder()
19+
.setTitle("KOG Bot - Version TESTING")
20+
.setDescription("Developed by Asynchronite and Sheepboi546 for KOG.\n\nKOG Bot is a discord.js bot created for KOG to provide for KOG in terms of logging, data retrieval, and some misc commands.\n\nMany of my commands focus around logging, this is used to make MRs life easier, and also making the publics life easier to retrieve their raid data, logs and more.\n\nAny errors must be reported to Sheepboi546 or Asyncheronite, any security must be reported via GitHubs inbuilt secruituy tab.\n\nYou can find my latest GitHub pushes and commits here: https://discord.com/channels/857445688932696104/1346226339010838528")
21+
.setColor("#9033FF")
22+
.setThumbnail("https://cdn.discordapp.com/avatars/857445688932696104/7b3b3b3b7")
23+
.setTimestamp();
24+
25+
await interaction.reply({ embeds: [embed] });
26+
27+
}
28+
}
29+
30+
export default InfoCommand;

0 commit comments

Comments
 (0)