This commit is contained in:
Louis Mazin 2025-12-08 22:28:55 +01:00
parent 2f9b5b3371
commit 6508639206
3 changed files with 1 additions and 4 deletions

View File

@ -4,8 +4,7 @@ const { getAllLinks } = require('../../database.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('check-linked')
.setDescription('Afficher tous les comptes liés (Admin uniquement)')
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator),
.setDescription('Afficher tous les comptes liés (Admin uniquement)'),
async execute(interaction) {
try {

View File

@ -6,7 +6,6 @@ module.exports = {
data: new SlashCommandBuilder()
.setName('link')
.setDescription('Lier manuellement un compte Discord à un compte Palworld (Admin)')
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
.addStringOption(option =>
option.setName('pseudo-palworld')
.setDescription('Le pseudo du joueur sur Palworld')

View File

@ -5,7 +5,6 @@ module.exports = {
data: new SlashCommandBuilder()
.setName('unlink')
.setDescription('Délier un compte Discord de son compte Palworld (Admin)')
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
.addUserOption(option =>
option.setName('discord-account')
.setDescription('Le compte Discord à délier')