Fix admin commands

This commit is contained in:
Christopher Cookman 2025-01-25 09:11:35 -07:00
parent 9f56b012b9
commit f26b8b22de

View file

@ -30,7 +30,7 @@ module.exports.execute = async (interaction) => {
switch (subcommand) {
case 'silence': // Run `asterisk -x "channel request hangup all"
runCommand('asterisk -x "channel request hangup all"').then((res) => {
interaction.reply({ content: ``, ephemeral: true });
interaction.reply({ content: `Silenced`, ephemeral: true });
});
break;
case 'reload': // Run `fwconsole reload`