diff --git a/commands/help.js b/commands/help.js index 6a67489..fcfdb51 100644 --- a/commands/help.js +++ b/commands/help.js @@ -158,7 +158,7 @@ module.exports = { let cmds = []; // if the interaction is not in a guild, we return only the global commands if (interaction.guild === null) { - client.commands.filter(cmd => cmd.name.startsWith(focusedValue) && (cmd.place === "dm" || cmd.place === "both")).forEach(cmd => { + client.commands.filter(cmd => cmd.name.startsWith(focusedValue) && (cmd.place === "dm" || cmd.place === "both") && (!cmd.serverid)).forEach(cmd => { cmds.push({ name: cmd.name, value: cmd.name }); }); } else { diff --git a/commands/lol.js b/commands/lol.js index e582962..150c397 100644 --- a/commands/lol.js +++ b/commands/lol.js @@ -12,7 +12,7 @@ module.exports = { description: "league of legends related commands", permission: "none", hidden: false, - place: "guild", + place: "both", options: [ { name: 'account',