Fix admin commands
This commit is contained in:
parent
9f56b012b9
commit
f26b8b22de
|
@ -30,7 +30,7 @@ module.exports.execute = async (interaction) => {
|
||||||
switch (subcommand) {
|
switch (subcommand) {
|
||||||
case 'silence': // Run `asterisk -x "channel request hangup all"
|
case 'silence': // Run `asterisk -x "channel request hangup all"
|
||||||
runCommand('asterisk -x "channel request hangup all"').then((res) => {
|
runCommand('asterisk -x "channel request hangup all"').then((res) => {
|
||||||
interaction.reply({ content: ``, ephemeral: true });
|
interaction.reply({ content: `Silenced`, ephemeral: true });
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case 'reload': // Run `fwconsole reload`
|
case 'reload': // Run `fwconsole reload`
|
||||||
|
|
Loading…
Reference in a new issue