mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-07-01 07:43:38 +00:00
client.config.maintenance to client.config.maintenanceMode
This commit is contained in:
@ -17,7 +17,7 @@ module.exports = {
|
||||
|
||||
const radio = client.radio.get(interaction.guild.id);
|
||||
|
||||
if(radio && !client.config.maintenance){
|
||||
if(radio && !client.config.maintenanceMode){
|
||||
client.funcs.listStations(client, interaction);
|
||||
} else {
|
||||
let stations = `${client.stations.map(s => `**#** ${s.name}`).join('\n')}`
|
||||
|
@ -14,7 +14,7 @@ module.exports = {
|
||||
async execute(interaction, client) {
|
||||
let message = {};
|
||||
|
||||
if(client.config.maintenance){
|
||||
if(client.config.maintenanceMode){
|
||||
interaction.reply({
|
||||
content: client.messageEmojis["error"] + client.messages.maintenance,
|
||||
ephemeral: true
|
||||
|
Reference in New Issue
Block a user