Skip to content

Commit

Permalink
buggies
Browse files Browse the repository at this point in the history
Signed-off-by: RedGuy12 <[email protected]>
  • Loading branch information
cobaltt7 committed Oct 30, 2022
1 parent e94537e commit 263ae80
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions commands/addon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ const command: ChatInputCommand = {
fuse
.search(interaction.options.getString("addon", true))
.splice(0, 25)
.filter(({ score }) => (score || 0) < 0.5)
.map((addon) => ({ name: addon.item.name, value: addon.item.id })),
);
},
Expand Down
1 change: 1 addition & 0 deletions events/guild/member/update.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { time } from "discord.js";
import fetch from "node-fetch";
import CONSTANTS from "../../../common/CONSTANTS.js";
import { changeNickname } from "../../../common/moderation/automod.js";
import log from "../../../common/moderation/logging.js";
Expand Down
1 change: 1 addition & 0 deletions events/guild/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import log from "../../common/moderation/logging.js";
import difflib from "difflib";
import type Event from "../../common/types/event";
import CONSTANTS from "../../common/CONSTANTS.js";
import fetch from "node-fetch";

const event: Event<"guildUpdate"> = async function event(oldGuild, newGuild) {
if (newGuild.id !== CONSTANTS.guild.id) return;
Expand Down
1 change: 1 addition & 0 deletions events/role/update.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import fetch from "node-fetch";
import CONSTANTS from "../../common/CONSTANTS.js";
import log from "../../common/moderation/logging.js";
import type Event from "../../common/types/event";
Expand Down

0 comments on commit 263ae80

Please sign in to comment.