sussy help change

This commit is contained in:
ChomeNS 2022-11-22 19:30:35 +07:00
parent a348148fd7
commit a15a529103

View file

@ -46,11 +46,8 @@ module.exports = {
function run() { function run() {
let discordSupported; let discordSupported;
let alias = command.name; let alias = command.name;
if (typeof command.discordExecute === 'undefined') { if (typeof command.discordExecute === 'undefined') discordSupported = 'false';
discordSupported = 'false'; else discordSupported = 'true';
} else {
discordSupported = 'true';
}
if (command.alias.toString() !== '') { if (command.alias.toString() !== '') {
alias = command.alias.join(', '); alias = command.alias.join(', ');
} }
@ -90,11 +87,8 @@ module.exports = {
function run() { function run() {
let discordSupported; let discordSupported;
let alias = command.name; let alias = command.name;
if (typeof command.discordExecute === 'undefined') { if (typeof command.discordExecute === 'undefined') discordSupported = 'false';
discordSupported = 'false'; else discordSupported = 'true';
} else {
discordSupported = 'true';
}
if (command.alias.toString() !== '') { if (command.alias.toString() !== '') {
alias = command.alias.join(', '); alias = command.alias.join(', ');
} }