mirror of https://github.com/clickscodes/nucleus
parent
66ac794efd
commit
2c33b9f1a8
@ -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 };
|
||||
@ -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 };
|
||||
@ -1,4 +0,0 @@
|
||||
const name = "examplesubgroup";
|
||||
const description = "This is an example subgroup with a meta file";
|
||||
|
||||
export { name, description };
|
||||
Loading…
Reference in new issue