Skip to content

Commit d35075c

Browse files
committed
fix: rpettier
1 parent ee82681 commit d35075c

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

src/discord/DiscordManager.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ class DiscordManager extends CommunicationBridge {
2121
}
2222

2323
connect() {
24-
global.imgurUrl = "";
2524
global.client = new Client({
2625
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildMembers]
2726
});
@@ -105,11 +104,6 @@ class DiscordManager extends CommunicationBridge {
105104
return;
106105
}
107106

108-
if (username === bot.username && message.endsWith("Check Discord Bridge for image.")) {
109-
channel.send(imgurUrl);
110-
imgurUrl = "";
111-
}
112-
113107
switch (mode) {
114108
case "bot":
115109
await channel.send({

src/discord/commands/updateCommand.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ const { getNetworth } = require("skyhelper-networth");
1515
const config = require("../../../config.json");
1616
const fs = require("fs");
1717
const { getUsername } = require("../../contracts/API/mowojangAPI.js");
18-
const { hideLinkEmbed } = require("discord.js");
1918

2019
async function updateRoles({ discordId, uuid }) {
2120
const member = await guild.members.fetch(discordId);

src/minecraft/handlers/ChatHandler.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const { checkRequirements, generateEmbed } = require("../../discord/commands/requirementsCommand.js");
22
const { replaceAllRanks, replaceVariables } = require("../../contracts/helperFunctions.js");
33
const { ActionRowBuilder, ButtonBuilder, ButtonStyle } = require("discord.js");
4-
const updateRolesCommand = require("../../discord/commands/updateCommand.js");
54
const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
65
const hypixel = require("../../contracts/API/HypixelRebornAPI.js");
76
const { getUUID } = require("../../contracts/API/mowojangAPI.js");

0 commit comments

Comments
 (0)