Skip to content

Commit 7bdb3be

Browse files
authored
Merge pull request #499 from DeltaSLM/patch-2
Fix typo
2 parents b39fbe6 + d95651c commit 7bdb3be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/SlashCommandManager.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class SlashCommandManager {
2727
* @param {ApplicationCommand} command
2828
*/
2929
matchesDefinition(command) {
30-
if (this.name !== command.name || this.type !== this.type) {
30+
if (this.name !== command.name || this.type !== command.type) {
3131
return false;
3232
}
3333
return this.type !== 'CHAT_INPUT' || (this.description === command.description
@@ -103,4 +103,4 @@ function matchingChoices(a, b) {
103103
});
104104
}
105105

106-
module.exports = SlashCommandManager;
106+
module.exports = SlashCommandManager;

0 commit comments

Comments
 (0)