Skip to content

Commit

Permalink
fixed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
vKxni committed Feb 13, 2022
1 parent bd4385a commit e526a68
Show file tree
Hide file tree
Showing 34 changed files with 42 additions and 38 deletions.
2 changes: 1 addition & 1 deletion src/commands/Admin/resetuser.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const emojis = require("../../../Controller/emojis/emojis");
const economyUser = require("../../models/Economy/usereconomy");

// Warnings, we are not resetting them due to saveity (guild admins)
const warnedUser = require("../../models/user");
const warnedUser = require("../../models/User/user");

// We are not resetting blacklists as they might be unfair.

Expand Down
2 changes: 1 addition & 1 deletion src/commands/Moderation/addrole.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const { SlashCommandBuilder } = require("@discordjs/builders");
const { CommandInteraction, Permissions, MessageEmbed } = require("discord.js");

const Guild = require("../../models/logs");
const Guild = require("../../models/Logging/logs");

module.exports.cooldown = {
length: 10000, /* in ms */
Expand Down
2 changes: 1 addition & 1 deletion src/commands/Moderation/ban.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const { SlashCommandBuilder } = require("@discordjs/builders");
const { CommandInteraction, Permissions, MessageEmbed } = require("discord.js");

const Guild = require("../../models/logs");
const Guild = require("../../models/Logging/logs");

module.exports.cooldown = {
length: 10000, /* in ms */
Expand Down
2 changes: 1 addition & 1 deletion src/commands/Moderation/clear.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { CommandInteraction, Permissions, MessageEmbed } = require("discord.js");

const ms = require("ms");

const Guild = require("../../models/logs");
const Guild = require("../../models/Logging/logs");

module.exports.cooldown = {
length: 10000, /* in ms */
Expand Down
2 changes: 1 addition & 1 deletion src/commands/Moderation/kick.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const { SlashCommandBuilder } = require("@discordjs/builders");
const { CommandInteraction, Permissions, MessageEmbed } = require("discord.js");

const Guild = require("../../models/logs");
const Guild = require("../../models/Logging/logs");

module.exports.cooldown = {
length: 10000, /* in ms */
Expand Down
2 changes: 1 addition & 1 deletion src/commands/Moderation/lock.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { CommandInteraction, Permissions, MessageEmbed, Message } = require("disc

const emojis = require("../../../Controller/emojis/emojis");

const Guild = require("../../models/logs");
const Guild = require("../../models/Logging/logs");

module.exports.cooldown = {
length: 10000, /* in ms */
Expand Down
2 changes: 1 addition & 1 deletion src/commands/Moderation/removewarning.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { CommandInteraction, Permissions, MessageEmbed } = require("discord.js");
const warnModel = require("../../models/Moderation/warning");

// Server logging
const Guild = require("../../models/logs");
const Guild = require("../../models/Logging/logs");

module.exports.cooldown = {
length: 10000 /* in ms */,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/Moderation/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const { SlashCommandBuilder } = require("@discordjs/builders");
const { CommandInteraction, Permissions, MessageEmbed, Message } = require("discord.js");

const Guild = require("../../models/report");
const Guild = require("../../models/Report/report");

const emojis = require("../../../Controller/emojis/emojis");

Expand Down
2 changes: 1 addition & 1 deletion src/commands/Moderation/timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const ms = require("moment");

const emojis = require("../../../Controller/emojis/emojis");

const Guild = require("../../models/logs");
const Guild = require("../../models/Logging/logs");

module.exports.cooldown = {
length: 10000, /* in ms */
Expand Down
2 changes: 1 addition & 1 deletion src/commands/Moderation/warn.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const {
const warnModel = require("../../models/Moderation/warning");

// Logging
const Guild = require("../../models/logs");
const Guild = require("../../models/Logging/logs");

module.exports.cooldown = {
length: 10000 /* in ms */,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/Setup/Logging/managelogging.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { SlashCommandBuilder } = require("@discordjs/builders");
const { CommandInteraction, MessageEmbed } = require("discord.js");

// Database queries
const Guild = require("../../../models/logs");
const Guild = require("../../../models/Logging/logs");

// Configs
const emojis = require("../../../../Controller/emojis/emojis");
Expand Down
2 changes: 1 addition & 1 deletion src/commands/Setup/Report/managereports.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { SlashCommandBuilder } = require("@discordjs/builders");
const { CommandInteraction, MessageEmbed } = require("discord.js");

// Database queries
const Guild = require("../../../models/report");
const Guild = require("../../../models/Report/report");

// Configs
const emojis = require("../../../../Controller/emojis/emojis");
Expand Down
4 changes: 2 additions & 2 deletions src/commands/Setup/Tracker/managebots.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const { SlashCommandBuilder } = require("@discordjs/builders");
const { CommandInteraction, MessageEmbed } = require("discord.js");

// Database queries
const Guild = require("../../../models/guilds.js");
const Bot = require("../../../models/bots.js");
const Guild = require("../../../models/Tracker/guilds.js");
const Bot = require("../../../models/Tracker/bots.js");

// Settings
const emojis = require("../../../../Controller/emojis/emojis");
Expand Down
6 changes: 4 additions & 2 deletions src/commands/Setup/Tracker/managetracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
const { SlashCommandBuilder } = require("@discordjs/builders");
const { CommandInteraction, MessageEmbed } = require("discord.js");

const emojis = require("../../../../Controller/emojis/emojis");
// Database queries
const Guild = require("../../../models/Tracker/guilds");

const Guild = require("../../../models/guilds");
// Configs
const emojis = require("../../../../Controller/emojis/emojis");

module.exports.cooldown = {
length: 10000,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/Setup/Verification/manageverification.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { SlashCommandBuilder } = require("@discordjs/builders");
const { CommandInteraction, MessageEmbed } = require("discord.js");

// Database queries
const GuildVerification = require("../../../models/verification");
const GuildVerification = require("../../../models/Verification/verification");

// Configs
const emojis = require("../../../../Controller/emojis/emojis");
Expand Down
2 changes: 1 addition & 1 deletion src/commands/Setup/Welcome/manageleave.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { SlashCommandBuilder } = require("@discordjs/builders");
const { CommandInteraction, MessageEmbed } = require("discord.js");

// Database queries
const Guild = require("../../../models/leave");
const Guild = require("../../../models/Welcome/leave");

// Configs
const emojis = require("../../../../Controller/emojis/emojis");
Expand Down
2 changes: 1 addition & 1 deletion src/commands/Setup/Welcome/managewelcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { SlashCommandBuilder } = require("@discordjs/builders");
const { CommandInteraction, MessageEmbed } = require("discord.js");

// Database queries
const Guild = require("../../../models/welcome");
const Guild = require("../../../models/Welcome/welcome");

// Configs
const emojis = require("../../../../Controller/emojis/emojis");
Expand Down
2 changes: 1 addition & 1 deletion src/commands/Utility/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports.run = async (interaction, utils, client) => {

// Database queries
const Guild = require("../../models/welcome");
const GuildLogs = require("../../models/logs");
const GuildLogs = require("../../models/Logging/logs");
const GuildTracker = require("../../models/guilds");
const GuildSuggestion = require("../../models/suggestions");

Expand Down
8 changes: 5 additions & 3 deletions src/commands/Utility/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
const { SlashCommandBuilder } = require("@discordjs/builders");
const { CommandInteraction, Permissions, MessageEmbed } = require("discord.js");

const emojis = require("../../../Controller/emojis/emojis");
// Database queries
const GuildVerification = require("../../models/Verification/verification");
const guildLogging = require("../../models/Logging/logs");

const GuildVerification = require("../../models/verification");
const guildLogging = require("../../models/logs");
// Configs
const emojis = require("../../../Controller/emojis/emojis");

module.exports.cooldown = {
length: 90000, /* in ms */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ const { GuildMember, MessageEmbed, WebhookClient } = require("discord.js");
const moment = require("moment");

// Database queries
const Guild = require("../models/welcome.js");
const GuildLogs = require("../models/logs");
const Guild = require("../../models/Welcome/welcome.js");
const GuildLogs = require("../../models/Logging/logs");

// Configs
const emojis = require("../../Controller/emojis/emojis");
const client = require("../util/bot.js");
const emojis = require("../../../Controller/emojis/emojis");
const client = require("../../util/bot.js");

module.exports.data = {
name: "guildMemberAdd",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
const { GuildMember, MessageEmbed, Role } = require("discord.js");

// Database queries
const Guild = require("../models/leave");
const Guild = require("../../models/Welcome/leave");

// Configs
const client = require("../util/bot.js");
const client = require("../../util/bot");

module.exports.data = {
name: "guildMemberRemove",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ const { channelMention } = require("@discordjs/builders");
const { GuildMember, MessageEmbed, WebhookClient } = require("discord.js");

// Database queries
const Guild = require("../models/logs");
const Guild = require("../../models/Logging/logs");

// Configs
const emojis = require("../../Controller/emojis/emojis");
const emojis = require("../../../Controller/emojis/emojis");

module.exports.data = {
name: "messageDelete",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
const { GuildMember, MessageEmbed, WebhookClient } = require("discord.js");

// Database queries
const Guild = require("../models/logs");
const Guild = require("../../models/Logging/logs");

// Configs
const emojis = require("../../Controller/emojis/emojis");
const emojis = require("../../../Controller/emojis/emojis");

module.exports.data = {
name: "messageUpdate",
Expand Down
6 changes: 3 additions & 3 deletions src/events/interactionCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ const { getKeyByValue, msToMinAndSec } = require('../util/util.js')
const { red } = require('colors/safe')

// Database queries
const User = require('../models/Admin/userblacklist')
const User = require('../models/Admin/userblacklist');

// Configs
const config = require('../../Controller/owners.json')
const emojis = require('../../Controller/emojis/emojis')
const config = require('../../Controller/owners.json');
const emojis = require('../../Controller/emojis/emojis');

module.exports.data = {
name: 'interactionCreate',
Expand Down
2 changes: 1 addition & 1 deletion src/events/messageCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const ms = require("moment");

// Database queries
const Guild = require("../models/Antiscam/antiscam");
const Logs = require("../models/logs");
const Logs = require("../models/Logging/logs");

// Configs
const emojis = require("../../Controller/emojis/emojis");
Expand Down
2 changes: 1 addition & 1 deletion src/events/presenceUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { PresenceUpdateStatus } = require("discord-api-types/v9");
const { Presence } = require("discord.js");

// Database queries
const Guild = require("../models/guilds.js");
const Guild = require("../models/Tracker/guilds.js");

// Configs
const emojis = require("../../Controller/emojis/emojis");
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e526a68

Please sign in to comment.