generated from nhcarrigan/template
feat: initial prototype
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { SlashCommandBuilder, ChannelType } from "discord.js";
|
||||
|
||||
const about = new SlashCommandBuilder()
|
||||
.setName("about")
|
||||
.setDescription("Get information about the bot.");
|
||||
|
||||
const honeypot = new SlashCommandBuilder()
|
||||
.setName("honeypot")
|
||||
.setDescription("Configure your honeypot channel.")
|
||||
.addChannelOption(
|
||||
option => option.setName("channel").setDescription("Your honeypot channel.").setRequired(true).addChannelTypes(ChannelType.GuildText)
|
||||
);
|
||||
|
||||
console.log(JSON.stringify([
|
||||
about.toJSON(),
|
||||
honeypot.toJSON()
|
||||
]));
|
||||
Reference in New Issue
Block a user