test
This commit is contained in:
parent
00940db0ce
commit
ae6204b93d
@ -7,7 +7,7 @@ module.exports = {
|
||||
.setDescription('Redémarre le serveur Palworld'),
|
||||
async execute(interaction, headers) {
|
||||
|
||||
if (!interaction.member.roles.cache.has('1444684935632912394')) {
|
||||
if (!interaction.member.roles.get('1444684935632912394')) {
|
||||
await interaction.reply({ content: '❌ Il faut avoir le rôle Rygainland pour pouvoir utiliser cette commande.', ephemeral: true });
|
||||
return;
|
||||
}
|
||||
|
||||
@ -7,7 +7,7 @@ module.exports = {
|
||||
.setDescription('Démarre le serveur Palworld s\'il n\'est pas déjà en cours d\'exécution'),
|
||||
async execute(interaction, headers) {
|
||||
|
||||
if (!interaction.member.roles.cache.has('1444684935632912394')) {
|
||||
if (!interaction.member.roles.get('1444684935632912394')) {
|
||||
await interaction.reply({ content: '❌ Il faut avoir le rôle Rygainland pour pouvoir utiliser cette commande.', ephemeral: true });
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user