Skip to content

Commit

Permalink
Fixed Client#editChannel (#243)
Browse files Browse the repository at this point in the history
abal pls
  • Loading branch information
Ratismal authored and abalabahaha committed Jun 7, 2017
1 parent 9e9cc17 commit b8c4b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Client.js
Expand Up @@ -358,7 +358,7 @@ class Client extends EventEmitter {
reason: reason
}).then((data) => {
if(!data.type || data.type === 2) { // undefined/0/2
var guild = channelGuildMap[channelID];
var guild = this.channelGuildMap[channelID];
if(guild) {
guild = this.guilds.get(guild);
}
Expand Down

0 comments on commit b8c4b41

Please sign in to comment.