giving mini HEAD

pull/5/head
pineafan 4 years ago
parent 66ac794efd
commit 2c33b9f1a8
No known key found for this signature in database
GPG Key ID: 0BC8D3DCC20E96FE

@ -0,0 +1,19 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = new SlashCommandBuilder()
.setName("help")
.setDescription("Shows help for commands")
const callback = (interaction: CommandInteraction) => {
interaction.reply("hel p");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,4 @@
const name = "mod";
const description = "Perform mod actions";
export { name, description };

@ -4,15 +4,15 @@ import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("examplesubcommand")
.setDescription("An example subcommand")
.setName("ban")
.setDescription("Bans a user from the server")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Hello, world!");
interaction.reply("Command incomplete [mod/ban]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return interaction.user.id !== "123456789";
return true;
}
export { command };

@ -4,15 +4,15 @@ import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("examplesubcommand")
.setDescription("An example subcommand")
.setName("clear")
.setDescription("Clears a users messages in a channel")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Hello, world!");
interaction.reply("Command incomplete [mod/clear]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return interaction.user.id !== "123456789";
return true;
}
export { command };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("kick")
.setDescription("Clears a users messages in a channel")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [mod/kick]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,4 @@
const name = "lock";
const description = "Quickly lock and unlock channels";
export { name, description };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("add")
.setDescription("Adds a lock to a channel")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [mod/lock/add]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("remove")
.setDescription("Removes a lock from a channel")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [mod/lock/remove]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("purge")
.setDescription("Clears messages in a channel")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [mod/purge]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,4 @@
const name = "slowmode";
const description = "Settings for slowmode in channels";
export { name, description };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("clear")
.setDescription("Clears slowmode from a channel")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [mod/slowmode/clear]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("clear")
.setDescription("Sets slowmode in a channel")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [mod/slowmode/set]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("clear")
.setDescription("Toggles slowmode in a channel")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [mod/slowmode/toggle]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("softban")
.setDescription("Softbans a user")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [mod/softban]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("unban")
.setDescription("Unbans a user")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [mod/unban]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,19 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setDescription("View the server as a specific member")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [mod/viewas]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("warn")
.setDescription("Warns a user")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [mod/warn]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,4 @@
const name = "nucleus";
const description = "Commands relating to Nucleus itself";
export { name, description };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("ping")
.setDescription("Gets the bot's ping time")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [nucleus/ping]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("stats")
.setDescription("Gets the bot's statse")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [nucleus/stats]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("suggest")
.setDescription("Sends a suggestion to the developers")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [nucleus/suggest]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,19 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = new SlashCommandBuilder()
.setName("privacy")
.setDescription("Shows info about Nucleus' privacy options")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [privacy]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,4 @@
const name = "role";
const description = "Change roles for users";
export { name, description };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("add")
.setDescription("Adds a role to someone")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [role/add]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,4 @@
const name = "all";
const description = "Role all users";
export { name, description };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("add")
.setDescription("Adds a role to everyone")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [role/all/add]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("add")
.setDescription("removes a role from everyone")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [role/all/remove]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("toggle")
.setDescription("Adds a role to everyone if they don't have it, removes it if they do")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [role/all/toggle]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("info")
.setDescription("Gets info about a role")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [role/info]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("remove")
.setDescription("Removes a role from someone")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [role/remove]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,4 @@
const name = "settings";
const description = "Change bot settings";
export { name, description };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("all")
.setDescription("Shows a full UI of all settings")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [settings/all]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("automation")
.setDescription("Shows all automation options")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [settings/automation]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,4 @@
const name = "log";
const description = "Settings for logging";
export { name, description };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("channel")
.setDescription("Sets the log channel")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [settings/log/channel]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("events")
.setDescription("Sets what events should be logged")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [settings/log/events]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("ignore")
.setDescription("Sets which users, channels and roles should be ignored")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [settings/log/ignore]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("ignored")
.setDescription("Gets the ignored users, channels and roles")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [settings/log/ignored]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,4 @@
const name = "announcements";
const description = "Settings for mod messages";
export { name, description };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("channel")
.setDescription("Sets the channel for staff messages to go to")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [settings/mod/channel]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("events")
.setDescription("Sets which events mods should be notified about")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [settings/mod/events]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("tickets")
.setDescription("Shows settings for tickets")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [settings/tickets]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,4 @@
const name = "verify";
const description = "Settings for verification";
export { name, description };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("channel")
.setDescription("Sets the verify channel")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [settings/verify/channel]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("role")
.setDescription("Sets the role given after verifying")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [settings/verify/role]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,19 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = new SlashCommandBuilder()
.setName("tag")
.setDescription("Manage or get a tag")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [tag]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,4 @@
const name = "ticket";
const description = "Manage modmail tickets";
export { name, description };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("close")
.setDescription("Closes a ticket")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [ticket/close]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("create")
.setDescription("Creates a new modmail ticket")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [ticket/create]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("delete")
.setDescription("Deletes a ticket")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [ticket/delete]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,4 @@
const name = "user";
const description = "Commands for user info";
export { name, description };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("about")
.setDescription("Shows info about a user")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [user/about]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,20 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("avatar")
.setDescription("Shows a users avatar")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [user/avatar]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

@ -0,0 +1,19 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = new SlashCommandBuilder()
.setName("verify")
.setDescription("Get verified in the server")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Command incomplete [verify]");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
}
export { command };
export { callback };
export { check };

31
package-lock.json generated

@ -11,11 +11,36 @@
"dependencies": {
"@discordjs/builders": "^0.12.0",
"discord.js": "^13.6.0",
"jshaiku": "file:../../WebstormProjects/haiku",
"jshaiku": "file:../haiku",
"typescript": "^4.5.5"
}
},
"../../WebstormProjects/haiku": {
"version": "1.0.0",
"extraneous": true,
"license": "AGPL-3.0",
"dependencies": {
"@discordjs/builders": "^0.11.0",
"@discordjs/rest": "^0.2.0-canary.0",
"@types/node-cron": "^3.0.1",
"ansi-styles": "^6.1.0",
"chalk": "^5.0.0",
"discord-api-types": "^0.26.1",
"discord.js": "^13.5.1",
"node-cron": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/preset-env": "^7.16.8",
"@babel/preset-typescript": "^7.16.7",
"@types/jest": "^27.4.0",
"babel-jest": "^27.4.6",
"jest": "^27.4.7",
"ts-node": "^10.4.0",
"typescript": "4.5.4"
}
},
"../haiku": {
"version": "1.0.0",
"license": "AGPL-3.0",
"dependencies": {
@ -201,7 +226,7 @@
}
},
"node_modules/jshaiku": {
"resolved": "../../WebstormProjects/haiku",
"resolved": "../haiku",
"link": true
},
"node_modules/mime-db": {
@ -438,7 +463,7 @@
}
},
"jshaiku": {
"version": "file:../../WebstormProjects/haiku",
"version": "file:../haiku",
"requires": {
"@babel/core": "^7.16.7",
"@babel/preset-env": "^7.16.8",

@ -2,7 +2,7 @@
"dependencies": {
"@discordjs/builders": "^0.12.0",
"discord.js": "^13.6.0",
"jshaiku": "file:../../WebstormProjects/haiku",
"jshaiku": "file:../haiku",
"typescript": "^4.5.5"
},
"name": "nucleus",

@ -1,4 +0,0 @@
const name = "examplesubgroup";
const description = "This is an example subgroup with a meta file";
export { name, description };

@ -1,6 +1,6 @@
{
"token": "your-token-here",
"developmentToken": "NzEzMzIwMzc5MzY3ODE3MjM2.XseZXw.-NeXEfWg25j2nJ5VDWMrjlxigH4",
"developmentToken": "Nzc5Mzg4ODU2NTM2NTMwOTg0.X7f0bw.yzZg659UsLtHTfmeTsDXZa7O8K8",
"managementGuildID": "your-management-guild-id-here",
"developmentGuildID": "864185037078790195",
"enableDevelopment": true,

@ -10,5 +10,5 @@
},
"include": [
"src/**/*"
]
, "old/commands", "COMMANDS/mod/lock", "COMMANDS/role", "COMMANDS/settings" ]
}
Loading…
Cancel
Save