fix perms
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 41s
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 41s
This commit is contained in:
parent
da950e08f2
commit
7e1d172b43
@ -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",
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user