This commit is contained in:
parent
c43f27a6ac
commit
1350cdc0b1
@ -8,7 +8,7 @@ export enum DiscordChannels {
|
|||||||
backendLogs = "1296524935237468250",
|
backendLogs = "1296524935237468250",
|
||||||
}
|
}
|
||||||
|
|
||||||
export const DiscordBot = new Client({
|
const DiscordBot = new Client({
|
||||||
intents: [],
|
intents: [],
|
||||||
presence: {
|
presence: {
|
||||||
status: "online",
|
status: "online",
|
||||||
|
@ -7,7 +7,6 @@ import { InternalServerError } from "../error/internal-server-error";
|
|||||||
import ScoreSaberPlayerScoreToken from "@ssr/common/types/token/scoresaber/score-saber-player-score-token";
|
import ScoreSaberPlayerScoreToken from "@ssr/common/types/token/scoresaber/score-saber-player-score-token";
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { MessageBuilder, Webhook } from "discord-webhook-node";
|
|
||||||
import { formatPp } from "@ssr/common/utils/number-utils";
|
import { formatPp } from "@ssr/common/utils/number-utils";
|
||||||
import { isProduction } from "@ssr/common/utils/utils";
|
import { isProduction } from "@ssr/common/utils/utils";
|
||||||
import { DiscordChannels, logToChannel } from "../bot/bot";
|
import { DiscordChannels, logToChannel } from "../bot/bot";
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import ScoreSaberPlayerScoreToken from "@ssr/common/types/token/scoresaber/score-saber-player-score-token";
|
import ScoreSaberPlayerScoreToken from "@ssr/common/types/token/scoresaber/score-saber-player-score-token";
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { MessageBuilder, Webhook } from "discord-webhook-node";
|
|
||||||
import { formatPp } from "@ssr/common/utils/number-utils";
|
import { formatPp } from "@ssr/common/utils/number-utils";
|
||||||
import { isProduction } from "@ssr/common/utils/utils";
|
import { isProduction } from "@ssr/common/utils/utils";
|
||||||
import { Metadata } from "@ssr/common/types/metadata";
|
import { Metadata } from "@ssr/common/types/metadata";
|
||||||
|
Reference in New Issue
Block a user