Updated configs to ts files
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { ApplicationCommandType, ContextMenuCommandBuilder, PermissionFlagsBits, userMention } from "discord.js"
|
import { ApplicationCommandType, ContextMenuCommandBuilder, PermissionFlagsBits, userMention } from "discord.js"
|
||||||
import { color, devMessage, hypixelGuildID } from "config/options.json"
|
import { color, devMessage, hypixelGuildID } from "config/options"
|
||||||
import { ContextMenu } from "interfaces"
|
import { ContextMenu } from "interfaces"
|
||||||
import verifySchema from "schemas/verifySchema"
|
import verifySchema from "schemas/verifySchema"
|
||||||
import { getGuild, getHeadURL, getIGN } from "utils/Hypixel"
|
import { getGuild, getHeadURL, getIGN } from "utils/Hypixel"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, userMention, GuildMember, } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, userMention, GuildMember, } from "discord.js"
|
||||||
import { admin, helper } from "config/roles.json"
|
import { admin, helper } from "config/roles"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import logToChannel from "utils/functions/logtochannel"
|
import logToChannel from "utils/functions/logtochannel"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { SlashCommandBuilder } from "discord.js"
|
import { SlashCommandBuilder } from "discord.js"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import os from "os"
|
import os from "os"
|
||||||
import { execSync } from "child_process"
|
import { execSync } from "child_process"
|
||||||
const { dependencies, devDependencies } = require("../../package.json")
|
const { dependencies, devDependencies } = require("../../package.json")
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
import { SlashCommandBuilder } from "discord.js"
|
import { SlashCommandBuilder } from "discord.js"
|
||||||
import { bwfkdr, bwstars, bwwins, swstars, swkdr, duelswins, duelswlr } from "config/reqs.json"
|
import { bwfkdr, bwstars, bwwins, swstars, swkdr, duelswins, duelswlr } from "config/reqs"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { hypixelLevel, bedwarsLevel, skywarsLevel, getUUID, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
import { hypixelLevel, bedwarsLevel, skywarsLevel, getUUID, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
|
|
||||||
export = {
|
export = {
|
||||||
name: "check",
|
name: "check",
|
||||||
description: "Check a player's stats.",
|
description: "Check a player's stats.",
|
||||||
dev: false,
|
dev: true,
|
||||||
public: true,
|
public: true,
|
||||||
|
|
||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, TextChannel, channelMention, userMention } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, TextChannel, channelMention, userMention } from "discord.js"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import logToChannel from "utils/functions/logtochannel"
|
import logToChannel from "utils/functions/logtochannel"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits } from "discord.js"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import settings from "schemas/settingsSchema"
|
import settings from "schemas/settingsSchema"
|
||||||
import mongoose from "mongoose"
|
import mongoose from "mongoose"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { ChannelType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
|
import { ChannelType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import setup from "./counting/setup"
|
import setup from "./counting/setup"
|
||||||
import ban from "./counting/ban"
|
import ban from "./counting/ban"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js"
|
import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js"
|
||||||
import { countingBanned } from "config/roles.json"
|
import { countingBanned } from "config/roles"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
|
|
||||||
export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> {
|
export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||||
const member = interaction.options.getMember("user")! as GuildMember
|
const member = interaction.options.getMember("user")! as GuildMember
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { ChatInputCommandInteraction, TextChannel, channelMention } from "discord.js"
|
import { ChatInputCommandInteraction, TextChannel, channelMention } from "discord.js"
|
||||||
import settingsSchema from "schemas/settingsSchema"
|
import settingsSchema from "schemas/settingsSchema"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import mongoose from "mongoose"
|
import mongoose from "mongoose"
|
||||||
|
|
||||||
export default async function setup(interaction: ChatInputCommandInteraction): Promise<void> {
|
export default async function setup(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js"
|
import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js"
|
||||||
import { countingBanned } from "config/roles.json"
|
import { countingBanned } from "config/roles"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
|
|
||||||
export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> {
|
export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||||
const member = interaction.options.getMember("user")! as GuildMember
|
const member = interaction.options.getMember("user")! as GuildMember
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, userMention, GuildMember } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, userMention, GuildMember } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import verify from "schemas/verifySchema"
|
import verify from "schemas/verifySchema"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import roleManage from "utils/functions/rolesmanage"
|
import roleManage from "utils/functions/rolesmanage"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, userMention, GuildMember } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, userMention, GuildMember } from "discord.js"
|
||||||
import { getGuild, getHeadURL, getIGN } from "utils/Hypixel"
|
import { getGuild, getHeadURL, getIGN } from "utils/Hypixel"
|
||||||
import { hypixelGuildID, color, devMessage } from "config/options.json"
|
import { hypixelGuildID, color, devMessage } from "config/options"
|
||||||
import verify from "schemas/verifySchema"
|
import verify from "schemas/verifySchema"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import roleManage from "utils/functions/rolesmanage"
|
import roleManage from "utils/functions/rolesmanage"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, GuildMember, userMention } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, GuildMember, userMention } from "discord.js"
|
||||||
import { getUUID, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
import { getUUID, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
||||||
import { color, hypixelGuildID, devMessage } from "config/options.json"
|
import { color, hypixelGuildID, devMessage } from "config/options"
|
||||||
import verify from "schemas/verifySchema"
|
import verify from "schemas/verifySchema"
|
||||||
import mongoose from "mongoose"
|
import mongoose from "mongoose"
|
||||||
import roleManage from "utils/functions/rolesmanage"
|
import roleManage from "utils/functions/rolesmanage"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder } from "discord.js"
|
import { SlashCommandBuilder } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import guildMember from "./guild/member"
|
import guildMember from "./guild/member"
|
||||||
import guildInfo from "./guild/info"
|
import guildInfo from "./guild/info"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { getUUID, getIGN, getPlayer, getGuild, guildLevel } from "utils/Hypixel"
|
import { getUUID, getIGN, getPlayer, getGuild, guildLevel } from "utils/Hypixel"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { ChatInputCommandInteraction } from "discord.js"
|
import { ChatInputCommandInteraction } from "discord.js"
|
||||||
import { GuildData } from "interfaces"
|
import { GuildData } from "interfaces"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { getUUID, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
import { getUUID, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { ChatInputCommandInteraction } from "discord.js"
|
import { ChatInputCommandInteraction } from "discord.js"
|
||||||
|
|
||||||
export default async function guildMember(interaction: ChatInputCommandInteraction): Promise<void> {
|
export default async function guildMember(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { getUUID, getPlayer, getGuild, getIGN } from "utils/Hypixel"
|
import { getUUID, getPlayer, getGuild, getIGN } from "utils/Hypixel"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { ChannelType, ChatInputCommandInteraction } from "discord.js"
|
import { ChannelType, ChatInputCommandInteraction } from "discord.js"
|
||||||
import { GuildData } from "interfaces"
|
import { GuildData } from "interfaces"
|
||||||
import { redis } from "utils/Illegitimate"
|
import { redis } from "utils/Illegitimate"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder } from "discord.js"
|
import { SlashCommandBuilder } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
|
|
||||||
export = {
|
export = {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits } from "discord.js"
|
||||||
import { color, devMessage, instructionsgif } from "config/options.json"
|
import { color, devMessage, instructionsgif } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
|
|
||||||
export = {
|
export = {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, userMention, GuildMember } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, userMention, GuildMember } from "discord.js"
|
||||||
import { admin, helper } from "config/roles.json"
|
import { admin, helper } from "config/roles"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import logToChannel from "utils/functions/logtochannel"
|
import logToChannel from "utils/functions/logtochannel"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder } from "discord.js"
|
import { SlashCommandBuilder } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
|
|
||||||
export = {
|
export = {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, User } from "discord.js"
|
import { SlashCommandBuilder, User } from "discord.js"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import env from "utils/Env"
|
import env from "utils/Env"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, userMention } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, userMention } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import waitinglistSchema from "schemas/waitinglistSchema"
|
import waitinglistSchema from "schemas/waitinglistSchema"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import logToChannel from "utils/functions/logtochannel"
|
import logToChannel from "utils/functions/logtochannel"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { SlashCommandBuilder } from "discord.js"
|
import { SlashCommandBuilder } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { bwfkdr, bwstars, bwwins, swstars, swkdr, duelswins, duelswlr } from "config/reqs.json"
|
import { bwfkdr, bwstars, bwwins, swstars, swkdr, duelswins, duelswlr } from "config/reqs"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
|
|
||||||
export = {
|
export = {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, ChannelType, TextChannel } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, ChannelType, TextChannel } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
|
|
||||||
export = {
|
export = {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, userMention, GuildMember } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, userMention, GuildMember } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import logToChannel from "utils/functions/logtochannel"
|
import logToChannel from "utils/functions/logtochannel"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, ButtonBuilder, ActionRowBuilder, ButtonStyle, ChannelType, TextChannel } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, ButtonBuilder, ActionRowBuilder, ButtonStyle, ChannelType, TextChannel } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
|
|
||||||
export = {
|
export = {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, ChannelType, TextChannel, channelMention, userMention } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, ChannelType, TextChannel, channelMention, userMention } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import logToChannel from "utils/functions/logtochannel"
|
import logToChannel from "utils/functions/logtochannel"
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { GuildMember, SlashCommandBuilder } from "discord.js"
|
import { GuildMember, SlashCommandBuilder } from "discord.js"
|
||||||
import snipeCacheSchema from "schemas/snipeCacheSchema"
|
import snipeCacheSchema from "schemas/snipeCacheSchema"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import { SnipeCache } from "typings"
|
import { SnipeCache } from "typings"
|
||||||
|
|
||||||
export = {
|
export = {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import help from "./staff/help"
|
import help from "./staff/help"
|
||||||
import beast from "./staff/beast"
|
import beast from "./staff/beast"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { bwwins, beastbwfkdr, beastbwstars, beastswkdr, beastswstars, beastduelswins, duelswlr } from "config/reqs.json"
|
import { bwwins, beastbwfkdr, beastbwstars, beastswkdr, beastswstars, beastduelswins, duelswlr } from "config/reqs"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { hypixelLevel, bedwarsLevel, skywarsLevel, getUUID, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
import { hypixelLevel, bedwarsLevel, skywarsLevel, getUUID, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
||||||
import { ChatInputCommandInteraction } from "discord.js"
|
import { ChatInputCommandInteraction } from "discord.js"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { ChatInputCommandInteraction } from "discord.js"
|
import { ChatInputCommandInteraction } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { ExtendedClient as Client } from "utils/Client"
|
import { ExtendedClient as Client } from "utils/Client"
|
||||||
|
|
||||||
export default async function help(interaction: ChatInputCommandInteraction, client: Client): Promise<void> {
|
export default async function help(interaction: ChatInputCommandInteraction, client: Client): Promise<void> {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, ChatInputCommandInteraction } from "discord.js"
|
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, ChatInputCommandInteraction } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import env from "utils/Env"
|
import env from "utils/Env"
|
||||||
|
|
||||||
export default async function prune(interaction: ChatInputCommandInteraction): Promise<void> {
|
export default async function prune(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import verify from "schemas/verifySchema"
|
import verify from "schemas/verifySchema"
|
||||||
import { color, hypixelGuildID } from "config/options.json"
|
import { color, hypixelGuildID } from "config/options"
|
||||||
import colorLog from "utils/functions/colors"
|
import colorLog from "utils/functions/colors"
|
||||||
import { verifyTick } from "config/roles.json"
|
import { verifyTick } from "config/roles"
|
||||||
import roleManage from "utils/functions/rolesmanage"
|
import roleManage from "utils/functions/rolesmanage"
|
||||||
import { ChatInputCommandInteraction, GuildMember } from "discord.js"
|
import { ChatInputCommandInteraction, GuildMember } from "discord.js"
|
||||||
import env from "utils/Env"
|
import env from "utils/Env"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, userMention, ChatInputCommandInteraction, GuildMember } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, userMention, ChatInputCommandInteraction, GuildMember } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import ms from "ms"
|
import ms from "ms"
|
||||||
import logToChannel from "utils/functions/logtochannel"
|
import logToChannel from "utils/functions/logtochannel"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, userMention, User } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, userMention, User } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import logToChannel from "utils/functions/logtochannel"
|
import logToChannel from "utils/functions/logtochannel"
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { GuildMember, SlashCommandBuilder } from "discord.js"
|
import { GuildMember, SlashCommandBuilder } from "discord.js"
|
||||||
import { getGuild, getIGN, getHeadURL } from "utils/Hypixel"
|
import { getGuild, getIGN, getHeadURL } from "utils/Hypixel"
|
||||||
import verify from "schemas/verifySchema"
|
import verify from "schemas/verifySchema"
|
||||||
import { color, hypixelGuildID, devMessage } from "config/options.json"
|
import { color, hypixelGuildID, devMessage } from "config/options"
|
||||||
import roleManage from "utils/functions/rolesmanage"
|
import roleManage from "utils/functions/rolesmanage"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder } from "discord.js"
|
import { SlashCommandBuilder } from "discord.js"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import { getUUID, getIGN, getHeadURL, formatUuid } from "utils/Hypixel"
|
import { getUUID, getIGN, getHeadURL, formatUuid } from "utils/Hypixel"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { GuildMember, SlashCommandBuilder } from "discord.js"
|
import { GuildMember, SlashCommandBuilder } from "discord.js"
|
||||||
import { getUUID, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
import { getUUID, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
||||||
import { color, hypixelGuildID, devMessage } from "config/options.json"
|
import { color, hypixelGuildID, devMessage } from "config/options"
|
||||||
import mongoose from "mongoose"
|
import mongoose from "mongoose"
|
||||||
import roleManage from "utils/functions/rolesmanage"
|
import roleManage from "utils/functions/rolesmanage"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { SlashCommandBuilder, userMention } from "discord.js"
|
import { SlashCommandBuilder, userMention } from "discord.js"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import verify from "schemas/verifySchema"
|
import verify from "schemas/verifySchema"
|
||||||
import { getIGN, getHeadURL } from "utils/Hypixel"
|
import { getIGN, getHeadURL } from "utils/Hypixel"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, userMention } from "discord.js"
|
import { SlashCommandBuilder, PermissionFlagsBits, userMention } from "discord.js"
|
||||||
import { getIGN, getHeadURL } from "utils/Hypixel"
|
import { getIGN, getHeadURL } from "utils/Hypixel"
|
||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import verify from "schemas/verifySchema"
|
import verify from "schemas/verifySchema"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { color, devMessage } from "config/options.json"
|
import { color, devMessage } from "config/options"
|
||||||
import guildapp from "schemas/guildAppSchema"
|
import guildapp from "schemas/guildAppSchema"
|
||||||
import { bwfkdr, bwstars, bwwins, swstars, swkdr, duelswins, duelswlr } from "config/reqs.json"
|
import { bwfkdr, bwstars, bwwins, swstars, swkdr, duelswins, duelswlr } from "config/reqs"
|
||||||
import { hypixelLevel, bedwarsLevel, skywarsLevel, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
import { hypixelLevel, bedwarsLevel, skywarsLevel, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
||||||
import { Button } from "interfaces"
|
import { Button } from "interfaces"
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
import { ActionRowBuilder, ButtonStyle, ButtonBuilder, TextChannel } from "discord.js"
|
import { ActionRowBuilder, ButtonStyle, ButtonBuilder, TextChannel } from "discord.js"
|
||||||
import { color, waitingListChannel, waitingListMessage, hypixelGuildID } from "config/options.json"
|
import { color, waitingListChannel, waitingListMessage, hypixelGuildID } from "config/options"
|
||||||
import colorLog from "utils/functions/colors"
|
import colorLog from "utils/functions/colors"
|
||||||
import mongoose from "mongoose"
|
import mongoose from "mongoose"
|
||||||
import guildapp from "schemas/guildAppSchema"
|
import guildapp from "schemas/guildAppSchema"
|
||||||
import waitingList from "schemas/waitinglistSchema"
|
import waitingList from "schemas/waitinglistSchema"
|
||||||
import { waitingListRole } from "config/roles.json"
|
import { waitingListRole } from "config/roles"
|
||||||
import { Button } from "interfaces"
|
import { Button } from "interfaces"
|
||||||
import { getGuild } from "utils/Hypixel"
|
import { getGuild } from "utils/Hypixel"
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { ButtonBuilder, ButtonStyle, ActionRowBuilder, EmbedBuilder, GuildMember, TextChannel } from "discord.js"
|
import { ButtonBuilder, ButtonStyle, ActionRowBuilder, EmbedBuilder, GuildMember, TextChannel } from "discord.js"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import { largeM, smallM, ignM } from "config/limitmessages.json"
|
import { largeM, smallM, ignM } from "config/limitmessages"
|
||||||
import { applicationsChannel } from "config/options.json"
|
import { applicationsChannel } from "config/options"
|
||||||
import questions from "config/questions.json"
|
import questions from "config/questions"
|
||||||
import { guildRole } from "config/roles.json"
|
import { guildRole } from "config/roles"
|
||||||
import { getUUID } from "utils/Hypixel"
|
import { getUUID } from "utils/Hypixel"
|
||||||
import mongoose from "mongoose"
|
import mongoose from "mongoose"
|
||||||
import guildapp from "schemas/guildAppSchema"
|
import guildapp from "schemas/guildAppSchema"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import { ButtonBuilder, ActionRowBuilder, ButtonStyle, EmbedBuilder, GuildMember, TextChannel } from "discord.js"
|
import { ButtonBuilder, ActionRowBuilder, ButtonStyle, EmbedBuilder, GuildMember, TextChannel } from "discord.js"
|
||||||
import { gm, manager, moderator, beast, member, guildStaff, guildRole } from "config/roles.json"
|
import { gm, manager, moderator, beast, member, guildStaff, guildRole } from "config/roles"
|
||||||
import { ignM, smallM, largeM } from "config/limitmessages.json"
|
import { ignM, smallM, largeM } from "config/limitmessages"
|
||||||
import { inactivity } from "config/questions.json"
|
import { inactivity } from "config/questions"
|
||||||
import { color, inactivityLogChannel } from "config/options.json"
|
import { color, inactivityLogChannel } from "config/options"
|
||||||
import { Button } from "interfaces"
|
import { Button } from "interfaces"
|
||||||
import { getIGN } from "utils/Hypixel"
|
import { getIGN } from "utils/Hypixel"
|
||||||
const guildRoles = [gm, manager, moderator, beast, member, guildStaff, guildRole]
|
const guildRoles = [gm, manager, moderator, beast, member, guildStaff, guildRole]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { ActionRowBuilder, ButtonBuilder, ButtonStyle } from "discord.js"
|
import { ActionRowBuilder, ButtonBuilder, ButtonStyle } from "discord.js"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import staffapp from "schemas/staffAppSchema"
|
import staffapp from "schemas/staffAppSchema"
|
||||||
import { Button } from "interfaces"
|
import { Button } from "interfaces"
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import { ButtonBuilder, ButtonStyle, ActionRowBuilder, EmbedBuilder, GuildMember, TextChannel } from "discord.js"
|
import { ButtonBuilder, ButtonStyle, ActionRowBuilder, EmbedBuilder, GuildMember, TextChannel } from "discord.js"
|
||||||
import { color, staffApplicationsChannel } from "config/options.json"
|
import { color, staffApplicationsChannel } from "config/options"
|
||||||
import { largeM, ignM } from "config/limitmessages.json"
|
import { largeM, ignM } from "config/limitmessages"
|
||||||
import questions from "config/questions.json"
|
import questions from "config/questions"
|
||||||
import { guildRole, guildStaff } from "config/roles.json"
|
import { guildRole, guildStaff } from "config/roles"
|
||||||
import mongoose from "mongoose"
|
import mongoose from "mongoose"
|
||||||
import staffapp from "schemas/staffAppSchema"
|
import staffapp from "schemas/staffAppSchema"
|
||||||
import settings from "schemas/settingsSchema"
|
import settings from "schemas/settingsSchema"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import waitinglist from "schemas/waitinglistSchema"
|
import waitinglist from "schemas/waitinglistSchema"
|
||||||
import { getGuild } from "utils/Hypixel"
|
import { getGuild } from "utils/Hypixel"
|
||||||
import { hypixelGuildID } from "config/options.json"
|
import { hypixelGuildID } from "config/options"
|
||||||
import { Button } from "interfaces"
|
import { Button } from "interfaces"
|
||||||
|
|
||||||
export = {
|
export = {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { EmbedBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle, Message, GuildMember } from "discord.js"
|
import { EmbedBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle, Message, GuildMember } from "discord.js"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import guildapp from "schemas/guildAppSchema"
|
import guildapp from "schemas/guildAppSchema"
|
||||||
import { Modal } from "interfaces"
|
import { Modal } from "interfaces"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { EmbedBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle } from "discord.js"
|
import { EmbedBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle } from "discord.js"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import staffapp from "schemas/staffAppSchema"
|
import staffapp from "schemas/staffAppSchema"
|
||||||
import { Modal } from "interfaces"
|
import { Modal } from "interfaces"
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import { getUUID, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
import { getUUID, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
||||||
import { color, hypixelGuildID, devMessage } from "config/options.json"
|
import { color, hypixelGuildID, devMessage } from "config/options"
|
||||||
import verify from "schemas/verifySchema"
|
import verify from "schemas/verifySchema"
|
||||||
import mongoose from "mongoose"
|
import mongoose from "mongoose"
|
||||||
import { gm, manager, moderator, beast, elite, member, guildRole, guildStaff, defaultMember } from "config/roles.json"
|
import { gm, manager, moderator, beast, elite, member, guildRole, guildStaff, defaultMember } from "config/roles"
|
||||||
import { Modal } from "interfaces"
|
import { Modal } from "interfaces"
|
||||||
import { GuildMember } from "discord.js"
|
import { GuildMember } from "discord.js"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"largeM": "(256 characters max)",
|
|
||||||
"smallM": "(128 characters max)",
|
|
||||||
"ignM": "(16 characters max)"
|
|
||||||
}
|
|
||||||
6
src/config/limitmessages.ts
Normal file
6
src/config/limitmessages.ts
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
const limitMessages = {
|
||||||
|
largeM: "(256 characters max)",
|
||||||
|
smallM: "(128 characters max)",
|
||||||
|
ignM: "(16 characters max)"
|
||||||
|
}
|
||||||
|
export = limitMessages
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"color": "#eeaadb",
|
|
||||||
"guildid": "481741000365178881",
|
|
||||||
"devMessage": "Developed by taken.lua",
|
|
||||||
"applicationsChannel": "776705352456470550",
|
|
||||||
"staffApplicationsChannel": "1039258641393520700",
|
|
||||||
"inactivityLogChannel": "829742524796239882",
|
|
||||||
"staffOtherChannel": "1082036748558803104",
|
|
||||||
"hypixelGuildID": "5a353a170cf2e529044f2935",
|
|
||||||
"onlineLogChannel": "1101144489306886226",
|
|
||||||
"botLogChannel": "1174403585149243472",
|
|
||||||
"guildLogChannel": "1183733282534326322",
|
|
||||||
"errorLogChannel": "1192476369850994788",
|
|
||||||
"moderationLogChannel": "1193329771795447818",
|
|
||||||
"devLogChannel": "1193688673632391280",
|
|
||||||
"waitingListChannel": "1145773618291298384",
|
|
||||||
"waitingListMessage": "1146027645415473193",
|
|
||||||
"instructionsgif": "https://cdn.discordapp.com/attachments/838716950723952640/1188211176300089384/4DMu513uNxbM.gif?ex=6599b2e4&is=65873de4&hm=e727c7a39aacbc47d6a5453f4b5f792a45679983c30d662cd258a311381b6df0&"
|
|
||||||
}
|
|
||||||
21
src/config/options.ts
Normal file
21
src/config/options.ts
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
const options = {
|
||||||
|
color: "#eeaadb",
|
||||||
|
embedColor: 0xeeaadb,
|
||||||
|
guildid: "481741000365178881",
|
||||||
|
devMessage: "Developed by taken.lua",
|
||||||
|
applicationsChannel: "776705352456470550",
|
||||||
|
staffApplicationsChannel: "1039258641393520700",
|
||||||
|
inactivityLogChannel: "829742524796239882",
|
||||||
|
staffOtherChannel: "1082036748558803104",
|
||||||
|
hypixelGuildID: "5a353a170cf2e529044f2935",
|
||||||
|
onlineLogChannel: "1101144489306886226",
|
||||||
|
botLogChannel: "1174403585149243472",
|
||||||
|
guildLogChannel: "1183733282534326322",
|
||||||
|
errorLogChannel: "1192476369850994788",
|
||||||
|
moderationLogChannel: "1193329771795447818",
|
||||||
|
devLogChannel: "1193688673632391280",
|
||||||
|
waitingListChannel: "1145773618291298384",
|
||||||
|
waitingListMessage: "1146027645415473193",
|
||||||
|
instructionsgif: "https://cdn.discordapp.com/attachments/838716950723952640/1188211176300089384/4DMu513uNxbM.gif?ex=6599b2e4&is=65873de4&hm=e727c7a39aacbc47d6a5453f4b5f792a45679983c30d662cd258a311381b6df0&"
|
||||||
|
}
|
||||||
|
export = options
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
{
|
|
||||||
"guild": [
|
|
||||||
{
|
|
||||||
"q": "What is your IGN?",
|
|
||||||
"r": "What is your IGN?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "What is your hypixel Network Level?",
|
|
||||||
"r": "What is your hypixel Network Level?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "What stats are you submitting? (ex. BW lv 135 or SW lv 12 etc..)? Please provide us your best stats of the gamemode you main the most.",
|
|
||||||
"r": "What stats are you submitting?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "Which talents make you a good member for Illegitimate? Tell us about your accomplishments, hobbies and ambitions both on Hypixel and in real life.",
|
|
||||||
"r": "Which talents make you a good member for Illegitimate?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "Will you be able to make from 100k to 150k gexp x week?",
|
|
||||||
"r": "Will you be able to make from 100k to 150k gexp x week?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "Tell us about: your age, what you expect to gain from Illegitimate, whether you play on other accounts; if you often will be inactive; your punishment history; etc… This section is all yours and we expect a longer answer.",
|
|
||||||
"r": "Tell us about yourself."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "How did you find about us? (Yt, advertisement in lobbies, friend..)",
|
|
||||||
"r": "How did you find about us?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "What is your time zone? (Example: GMT+1)",
|
|
||||||
"r": "What is your time zone?"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"staff": [
|
|
||||||
{
|
|
||||||
"q": "What is your IGN?",
|
|
||||||
"r": "What is your IGN?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "How long have you been in the guild for?",
|
|
||||||
"r": "How long have you been in the guild for?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "Have you been guild muted for any reason? (This includes mutes for staff disrespect, arguing with guild members, toxicity...)",
|
|
||||||
"r": "Have you been guild muted for any reason?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "Are you an active guild member? (Keep in mind we will surely check your GEXP)",
|
|
||||||
"r": "Are you an active guild member?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "Do you have any experience as a staff member (guild moderator) at all?",
|
|
||||||
"r": "Do you have any experience as a staff member (guild moderator) at all?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "Why should we choose you as a Guild Moderator? (Tell us what would you do for the guild, how are you gonna help us grow the community, how many hours per day are you willing to spend doing the stuff as moderator for the guild etc..",
|
|
||||||
"r": "Why should we choose you as a Guild Moderator?"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"inactivity": [
|
|
||||||
{
|
|
||||||
"q": "What is your IGN?",
|
|
||||||
"r": "What is your IGN?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "Duration of the absence?",
|
|
||||||
"r": "Duration of the absence?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "Reason of the absence?",
|
|
||||||
"r": "Reason of the absence?"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
77
src/config/questions.ts
Normal file
77
src/config/questions.ts
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
const question = {
|
||||||
|
guild: [
|
||||||
|
{
|
||||||
|
q: "What is your IGN?",
|
||||||
|
r: "What is your IGN?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "What is your hypixel Network Level?",
|
||||||
|
r: "What is your hypixel Network Level?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "What stats are you submitting? (ex. BW lv 135 or SW lv 12 etc..)? Please provide us your best stats of the gamemode you main the most.",
|
||||||
|
r: "What stats are you submitting?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "Which talents make you a good member for Illegitimate? Tell us about your accomplishments, hobbies and ambitions both on Hypixel and in real life.",
|
||||||
|
r: "Which talents make you a good member for Illegitimate?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "Will you be able to make from 100k to 150k gexp x week?",
|
||||||
|
r: "Will you be able to make from 100k to 150k gexp x week?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "Tell us about: your age, what you expect to gain from Illegitimate, whether you play on other accounts; if you often will be inactive; your punishment history; etc… This section is all yours and we expect a longer answer.",
|
||||||
|
r: "Tell us about yourself."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "How did you find about us? (Yt, advertisement in lobbies, friend..)",
|
||||||
|
r: "How did you find about us?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "What is your time zone? (Example: GMT+1)",
|
||||||
|
r: "What is your time zone?"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
staff: [
|
||||||
|
{
|
||||||
|
q: "What is your IGN?",
|
||||||
|
r: "What is your IGN?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "How long have you been in the guild for?",
|
||||||
|
r: "How long have you been in the guild for?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "Have you been guild muted for any reason? (This includes mutes for staff disrespect, arguing with guild members, toxicity...)",
|
||||||
|
r: "Have you been guild muted for any reason?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "Are you an active guild member? (Keep in mind we will surely check your GEXP)",
|
||||||
|
r: "Are you an active guild member?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "Do you have any experience as a staff member (guild moderator) at all?",
|
||||||
|
r: "Do you have any experience as a staff member (guild moderator) at all?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "Why should we choose you as a Guild Moderator? (Tell us what would you do for the guild, how are you gonna help us grow the community, how many hours per day are you willing to spend doing the stuff as moderator for the guild etc..",
|
||||||
|
r: "Why should we choose you as a Guild Moderator?"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
inactivity: [
|
||||||
|
{
|
||||||
|
q: "What is your IGN?",
|
||||||
|
r: "What is your IGN?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "Duration of the absence?",
|
||||||
|
r: "Duration of the absence?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
q: "Reason of the absence?",
|
||||||
|
r: "Reason of the absence?"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
export = question
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"bwstars": 200,
|
|
||||||
"bwfkdr": 4,
|
|
||||||
"bwwins": 1500,
|
|
||||||
"swstars": 15,
|
|
||||||
"swkdr": 1,
|
|
||||||
"duelswins": 6000,
|
|
||||||
"duelswlr": 3,
|
|
||||||
"beastbwstars": 500,
|
|
||||||
"beastbwfkdr": 7,
|
|
||||||
"beastswstars": 20,
|
|
||||||
"beastswkdr": 2.5,
|
|
||||||
"beastduelswins": 12000
|
|
||||||
}
|
|
||||||
15
src/config/reqs.ts
Normal file
15
src/config/reqs.ts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
const reqs = {
|
||||||
|
bwstars: 200,
|
||||||
|
bwfkdr: 4,
|
||||||
|
bwwins: 1500,
|
||||||
|
swstars: 15,
|
||||||
|
swkdr: 1,
|
||||||
|
duelswins: 6000,
|
||||||
|
duelswlr: 3,
|
||||||
|
beastbwstars: 500,
|
||||||
|
beastbwfkdr: 7,
|
||||||
|
beastswstars: 20,
|
||||||
|
beastswkdr: 2.5,
|
||||||
|
beastduelswins: 12000
|
||||||
|
}
|
||||||
|
export = reqs
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"gm": "815893218246787080",
|
|
||||||
"manager": "815880752683679824",
|
|
||||||
"moderator": "815880910019887134",
|
|
||||||
"elite": "1137654165884129310",
|
|
||||||
"beast": "815880942345519104",
|
|
||||||
"member": "815880984301404190",
|
|
||||||
"guildStaff": "1175860041652379718",
|
|
||||||
"guildRole": "1043224015722000514",
|
|
||||||
"waitingListRole": "1092543315053908120",
|
|
||||||
"defaultMember": "722386801930797056",
|
|
||||||
"admin": "528549814846095360",
|
|
||||||
"helper": "592371991294771226",
|
|
||||||
"muted": "594355088932339732",
|
|
||||||
"countingBanned": "1192183486128341072",
|
|
||||||
"verifyTick": "1201624332674273290"
|
|
||||||
}
|
|
||||||
18
src/config/roles.ts
Normal file
18
src/config/roles.ts
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
const roles = {
|
||||||
|
gm: "815893218246787080",
|
||||||
|
manager: "815880752683679824",
|
||||||
|
moderator: "815880910019887134",
|
||||||
|
elite: "1137654165884129310",
|
||||||
|
beast: "815880942345519104",
|
||||||
|
member: "815880984301404190",
|
||||||
|
guildStaff: "1175860041652379718",
|
||||||
|
guildRole: "1043224015722000514",
|
||||||
|
waitingListRole: "1092543315053908120",
|
||||||
|
defaultMember: "722386801930797056",
|
||||||
|
admin: "528549814846095360",
|
||||||
|
helper: "592371991294771226",
|
||||||
|
muted: "594355088932339732",
|
||||||
|
countingBanned: "1192183486128341072",
|
||||||
|
verifyTick: "1201624332674273290"
|
||||||
|
}
|
||||||
|
export = roles
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
[
|
|
||||||
{ "name": "over the Illegitimate Server", "type": 3 },
|
|
||||||
{ "name": "jon and pit edate", "type": 3 },
|
|
||||||
{ "name": "for Martina's return", "type": 3 },
|
|
||||||
{ "name": "w vri's feelings", "type": 0 },
|
|
||||||
{ "name": "urCryhard steal finals again", "type": 3 },
|
|
||||||
{ "name": "with Perlcence the AI", "type": 0 },
|
|
||||||
{ "name": "with ur mom in my bed", "type": 0 },
|
|
||||||
{ "name": "with Jone the idiot", "type": 0 }
|
|
||||||
]
|
|
||||||
11
src/config/statuses.ts
Normal file
11
src/config/statuses.ts
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
const statuses = [
|
||||||
|
{ name: "over the Illegitimate Server", type: 3 },
|
||||||
|
{ name: "jon and pit edate", type: 3 },
|
||||||
|
{ name: "for Martina's return", type: 3 },
|
||||||
|
{ name: "w vri's feelings", type: 0 },
|
||||||
|
{ name: "urCryhard steal finals again", type: 3 },
|
||||||
|
{ name: "with Perlcence the AI", type: 0 },
|
||||||
|
{ name: "with ur mom in my bed", type: 0 },
|
||||||
|
{ name: "with Jone the idiot", type: 0 }
|
||||||
|
]
|
||||||
|
export = statuses
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { hypixelGuildID, guildLogChannel, color, devMessage } from "config/options.json"
|
import { hypixelGuildID, guildLogChannel, color, devMessage } from "config/options"
|
||||||
import colorLog from "utils/functions/colors"
|
import colorLog from "utils/functions/colors"
|
||||||
import { getGuild, getIGN } from "utils/Hypixel"
|
import { getGuild, getIGN } from "utils/Hypixel"
|
||||||
import { Cron, GuildData } from "interfaces"
|
import { Cron, GuildData } from "interfaces"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { GuildMember, userMention } from "discord.js"
|
import { GuildMember, userMention } from "discord.js"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import { Event } from "interfaces"
|
import { Event } from "interfaces"
|
||||||
import logToChannel from "utils/functions/logtochannel"
|
import logToChannel from "utils/functions/logtochannel"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import logToChannel from "utils/functions/logtochannel"
|
import logToChannel from "utils/functions/logtochannel"
|
||||||
import { Event } from "interfaces"
|
import { Event } from "interfaces"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
|
|
||||||
export = {
|
export = {
|
||||||
name: "sendonlinemessage",
|
name: "sendonlinemessage",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import statuses from "config/statuses.json"
|
import statuses from "config/statuses"
|
||||||
import { Event } from "interfaces"
|
import { Event } from "interfaces"
|
||||||
import { ExtendedClient as Client } from "utils/Client"
|
import { ExtendedClient as Client } from "utils/Client"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { userMention, channelMention, VoiceState } from "discord.js"
|
import { userMention, channelMention, VoiceState } from "discord.js"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import { Event } from "interfaces"
|
import { Event } from "interfaces"
|
||||||
import logToChannel from "utils/functions/logtochannel"
|
import logToChannel from "utils/functions/logtochannel"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { ExtendedClient as Client } from "utils/Client"
|
import { ExtendedClient as Client } from "utils/Client"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import { Autocomplete } from "interfaces"
|
import { Autocomplete } from "interfaces"
|
||||||
import { Events } from "discord.js"
|
import { Events } from "discord.js"
|
||||||
import colorLog from "utils/functions/colors"
|
import colorLog from "utils/functions/colors"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { ExtendedClient as Client } from "utils/Client"
|
import { ExtendedClient as Client } from "utils/Client"
|
||||||
import colorLog from "utils/functions/colors"
|
import colorLog from "utils/functions/colors"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import { Button } from "interfaces"
|
import { Button } from "interfaces"
|
||||||
import { Events } from "discord.js"
|
import { Events } from "discord.js"
|
||||||
import path from "path"
|
import path from "path"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { ExtendedClient as Client } from "utils/Client"
|
import { ExtendedClient as Client } from "utils/Client"
|
||||||
import colorLog from "utils/functions/colors"
|
import colorLog from "utils/functions/colors"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import { Command } from "interfaces"
|
import { Command } from "interfaces"
|
||||||
import { Events } from "discord.js"
|
import { Events } from "discord.js"
|
||||||
import path from "path"
|
import path from "path"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { ExtendedClient as Client } from "utils/Client"
|
import { ExtendedClient as Client } from "utils/Client"
|
||||||
import colorLog from "utils/functions/colors"
|
import colorLog from "utils/functions/colors"
|
||||||
import { ContextMenu } from "interfaces"
|
import { ContextMenu } from "interfaces"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import { Events } from "discord.js"
|
import { Events } from "discord.js"
|
||||||
import path from "path"
|
import path from "path"
|
||||||
import fs from "fs"
|
import fs from "fs"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { ExtendedClient as Client } from "utils/Client"
|
import { ExtendedClient as Client } from "utils/Client"
|
||||||
import colorLog from "utils/functions/colors"
|
import colorLog from "utils/functions/colors"
|
||||||
import { color } from "config/options.json"
|
import { color } from "config/options"
|
||||||
import { Modal } from "interfaces"
|
import { Modal } from "interfaces"
|
||||||
import { Events } from "discord.js"
|
import { Events } from "discord.js"
|
||||||
import path from "path"
|
import path from "path"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
errorLogChannel,
|
errorLogChannel,
|
||||||
moderationLogChannel,
|
moderationLogChannel,
|
||||||
devLogChannel
|
devLogChannel
|
||||||
} from "config/options.json"
|
} from "config/options"
|
||||||
import { Guild, MessageCreateOptions, TextChannel } from "discord.js"
|
import { Guild, MessageCreateOptions, TextChannel } from "discord.js"
|
||||||
import { client } from "utils/Illegitimate"
|
import { client } from "utils/Illegitimate"
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {
|
|||||||
guildRole,
|
guildRole,
|
||||||
defaultMember,
|
defaultMember,
|
||||||
verifyTick
|
verifyTick
|
||||||
} from "config/roles.json"
|
} from "config/roles"
|
||||||
const roles = [
|
const roles = [
|
||||||
gm,
|
gm,
|
||||||
manager,
|
manager,
|
||||||
|
|||||||
Reference in New Issue
Block a user