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 { ActivityType, EmbedBuilder } from "discord.js";
|
||||||
import { Config } from "@ssr/common/config";
|
import { Config } from "@ssr/common/config";
|
||||||
|
|
||||||
|
export const guildId = "1295984874942894100";
|
||||||
export enum DiscordChannels {
|
export enum DiscordChannels {
|
||||||
trackedPlayerLogs = "1295985197262569512",
|
trackedPlayerLogs = "1295985197262569512",
|
||||||
numberOneFeed = "1295988063817830430",
|
numberOneFeed = "1295988063817830430",
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
import { Discord, Slash } from "discordx";
|
import { Discord, Guild, Slash } from "discordx";
|
||||||
import { CommandInteraction } from "discord.js";
|
import { CommandInteraction } from "discord.js";
|
||||||
import { PlayerService } from "../../service/player.service";
|
import { PlayerService } from "../../service/player.service";
|
||||||
|
import { guildId } from "../bot";
|
||||||
|
|
||||||
@Discord()
|
@Discord()
|
||||||
export class RefreshPlayerScoresCommand {
|
export class RefreshPlayerScoresCommand {
|
||||||
|
@Guild(guildId)
|
||||||
@Slash({
|
@Slash({
|
||||||
description: "Refreshes scores for all tracked players",
|
description: "Refreshes scores for all tracked players",
|
||||||
name: "refresh-player-scores",
|
name: "refresh-player-scores",
|
||||||
|
Reference in New Issue
Block a user