Skip to content

Commit

Permalink
Merge pull request #460 from Would-You-Bot/cluster-dm
Browse files Browse the repository at this point in the history
Cluster dm
  • Loading branch information
forgetfulskybro committed Mar 2, 2024
2 parents 47802b3 + fe21cf3 commit 50efba8
Show file tree
Hide file tree
Showing 80 changed files with 109 additions and 76 deletions.
2 changes: 1 addition & 1 deletion src/buttons/dailyChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
ChannelSelectMenuBuilder,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "dailyChannel",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/dailyInterval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
ButtonStyle,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const modalObject = {
title: "Daily Post Time",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/dailyMsg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
ButtonStyle,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "dailyMsg",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/dailyRole.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
MessageActionRowComponentBuilder,
ButtonStyle,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "dailyRole",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/dailyThread.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
ButtonStyle,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "dailyThread",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/dailyTimezone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
ButtonStyle,
} from "discord.js";
import { captureException } from "@sentry/node";
import { Button } from "../models";
import { Button } from "../interfaces";

const modalObject = {
title: "Daily Message Timezone",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/dailyType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
MessageActionRowComponentBuilder,
StringSelectMenuBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "dailyType",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/dare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from "discord.js";
import { captureException } from "@sentry/node";
import shuffle from "../util/shuffle";
import { Button } from "../models";
import { Button } from "../interfaces";
import { getDare } from "../util/Functions/jsonImport";

const button: Button = {
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/deleteDailyRole.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
ButtonStyle,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "deleteDailyRole",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/higher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import { HigherlowerModel } from "../util/Models/higherlowerModel";
import LOSE from "../util/Classes/generateLOSE";
import HOR from "../util/Classes/generateHOR";
import { Button } from "../models";
import { Button } from "../interfaces";
import { getHigherLower } from "../util/Functions/jsonImport";

const button: Button = {
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/lower.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import { HigherlowerModel } from "../util/Models/higherlowerModel";
import LOSE from "../util/Classes/generateLOSE";
import HOR from "../util/Classes/generateHOR";
import { Button } from "../models";
import { Button } from "../interfaces";
import { getHigherLower } from "../util/Functions/jsonImport";

const button: Button = {
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/neverhaveiever.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from "discord.js";
import { captureException } from "@sentry/node";
import shuffle from "../util/shuffle";
import { Button } from "../models";
import { Button } from "../interfaces";
import { getNeverHaveIEver } from "../util/Functions/jsonImport";

const button: Button = {
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/paginateFirst.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
MessageActionRowComponentBuilder,
ButtonStyle,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "paginateFirst",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/paginateLast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
ButtonStyle,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";
import { UserModel } from "../util/Models/userModel";

const button: Button = {
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/paginateNext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
MessageActionRowComponentBuilder,
ButtonStyle,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";
import { UserModel } from "../util/Models/userModel";

const button: Button = {
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/paginatePrev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
MessageActionRowComponentBuilder,
ButtonStyle,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";
import { UserModel } from "../util/Models/userModel";

const button: Button = {
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/privacy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button } from "../models";
import { Button } from "../interfaces";
import {
EmbedBuilder,
ActionRowBuilder,
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/random.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from "discord.js";
import { captureException } from "@sentry/node";
import shuffle from "../util/shuffle";
import { Button } from "../models";
import { Button } from "../interfaces";
import { getRandomTod } from "../util/Functions/jsonImport";

const button: Button = {
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/replayBy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
ButtonStyle,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "replayBy",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/replayChannels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
ChannelSelectMenuBuilder,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "replayChannels",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/replayCooldown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
EmbedBuilder,
ButtonStyle,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";
const modalObject = {
title: "Replay Cooldown",
custom_id: "replayCooldown",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/replayDelete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
ButtonStyle,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "replayDelete",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/replayDeleteChannels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
MessageActionRowComponentBuilder,
StringSelectMenuBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "replayDeleteChannels",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/replayType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
ButtonStyle,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "replayType",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/result.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EmbedBuilder } from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";
import Paginator from "../util/pagination";

const button: Button = {
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/selectMenuChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
MessageActionRowComponentBuilder,
ButtonStyle,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "selectMenuChannel",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/selectMenuReplay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
ButtonStyle,
} from "discord.js";
import { captureException } from "@sentry/node";
import { Button } from "../models";
import { Button } from "../interfaces";

const modalObject = {
title: "Replay Cooldown",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/selectMenuRole.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
ButtonStyle,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "selectMenuRole",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/selectMenuType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
ButtonStyle,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "selectMenuType",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/selectMenuWelcome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
EmbedBuilder,
ButtonStyle,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "seletcMenuWelcome",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/selectMenuWelcomeType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
EmbedBuilder,
ButtonStyle,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "selectMenuWelcomeType",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/truth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from "discord.js";
import { captureException } from "@sentry/node";
import shuffle from "../util/shuffle";
import { Button } from "../models";
import { Button } from "../interfaces";
import { getTruth } from "../util/Functions/jsonImport";

const button: Button = {
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/voting.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "voting",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/welcome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
MessageActionRowComponentBuilder,
ButtonStyle,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "welcome",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/welcomeChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
ChannelSelectMenuBuilder,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "welcomeChannel",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/welcomePing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
MessageActionRowComponentBuilder,
ButtonStyle,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "welcomePing",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/welcomeTest.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { GuildMember } from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "welcomeTest",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/welcomeType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
MessageActionRowComponentBuilder,
StringSelectMenuBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "welcomeType",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/wouldyourather.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from "discord.js";
import { captureException } from "@sentry/node";
import shuffle from "../util/shuffle";
import { Button } from "../models";
import { Button } from "../interfaces";
import { getWouldYouRather } from "../util/Functions/jsonImport";

const button: Button = {
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/wwyd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from "discord.js";
import { captureException } from "@sentry/node";
import shuffle from "../util/shuffle";
import { Button } from "../models";
import { Button } from "../interfaces";
import { getWwyd } from "../util/Functions/jsonImport";

const button: Button = {
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/wycustom_accept.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
EmbedBuilder,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "wycustom_accept",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/wycustom_add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
EmbedBuilder,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "wycustom_add",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/wycustom_decline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
EmbedBuilder,
MessageActionRowComponentBuilder,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "wycustom_decline",
Expand Down
2 changes: 1 addition & 1 deletion src/buttons/wycustom_remove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
MessageActionRowComponentBuilder,
ButtonStyle,
} from "discord.js";
import { Button } from "../models";
import { Button } from "../interfaces";

const button: Button = {
name: "wycustom_remove",
Expand Down
Loading

0 comments on commit 50efba8

Please sign in to comment.