clean
This commit is contained in:
parent
2f9b5b3371
commit
6508639206
@ -4,8 +4,7 @@ const { getAllLinks } = require('../../database.js');
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('check-linked')
|
.setName('check-linked')
|
||||||
.setDescription('Afficher tous les comptes liés (Admin uniquement)')
|
.setDescription('Afficher tous les comptes liés (Admin uniquement)'),
|
||||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator),
|
|
||||||
|
|
||||||
async execute(interaction) {
|
async execute(interaction) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@ -6,7 +6,6 @@ module.exports = {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('link')
|
.setName('link')
|
||||||
.setDescription('Lier manuellement un compte Discord à un compte Palworld (Admin)')
|
.setDescription('Lier manuellement un compte Discord à un compte Palworld (Admin)')
|
||||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
|
|
||||||
.addStringOption(option =>
|
.addStringOption(option =>
|
||||||
option.setName('pseudo-palworld')
|
option.setName('pseudo-palworld')
|
||||||
.setDescription('Le pseudo du joueur sur Palworld')
|
.setDescription('Le pseudo du joueur sur Palworld')
|
||||||
|
|||||||
@ -5,7 +5,6 @@ module.exports = {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('unlink')
|
.setName('unlink')
|
||||||
.setDescription('Délier un compte Discord de son compte Palworld (Admin)')
|
.setDescription('Délier un compte Discord de son compte Palworld (Admin)')
|
||||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
|
|
||||||
.addUserOption(option =>
|
.addUserOption(option =>
|
||||||
option.setName('discord-account')
|
option.setName('discord-account')
|
||||||
.setDescription('Le compte Discord à délier')
|
.setDescription('Le compte Discord à délier')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user