Skip to content

Commit

Permalink
fix: client.acceptInvite
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorunome committed Dec 13, 2020
1 parent 48b0430 commit 5e58e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class Client extends BaseClient {
if (!res) {
return null;
}
const foundGuild = this.guilds.get(res.guild.id);
const foundGuild = this.guilds.resolve(res.guild.id);
if (foundGuild) {
return foundGuild;
}
Expand Down

0 comments on commit 5e58e1e

Please sign in to comment.