fix perms
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 41s

This commit is contained in:
Lee 2024-10-25 18:01:44 +01:00
parent da950e08f2
commit 7e1d172b43
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@ import { Client } from "discordx";
import { ActivityType, EmbedBuilder } from "discord.js";
import { Config } from "@ssr/common/config";
export const guildId = "1295984874942894100";
export enum DiscordChannels {
trackedPlayerLogs = "1295985197262569512",
numberOneFeed = "1295988063817830430",

View File

@ -1,9 +1,11 @@
import { Discord, Slash } from "discordx";
import { Discord, Guild, Slash } from "discordx";
import { CommandInteraction } from "discord.js";
import { PlayerService } from "../../service/player.service";
import { guildId } from "../bot";
@Discord()
export class RefreshPlayerScoresCommand {
@Guild(guildId)
@Slash({
description: "Refreshes scores for all tracked players",
name: "refresh-player-scores",