mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Fix updateChannel crashing (#456)
This commit is contained in:
@@ -1668,7 +1668,7 @@ var InternalClient = (function () {
|
||||
topic: data.topic || channel.topic,
|
||||
position: data.position ? data.position : channel.position,
|
||||
user_limit: data.userLimit ? data.userLimit : channel.userLimit,
|
||||
bitrate: data.bitrate ? data.bitrate : channel.bitrate
|
||||
bitrate: data.bitrate ? data.bitrate : channel.bitrate ? channel.bitrate : undefined
|
||||
};
|
||||
|
||||
if (data.position < 0) {
|
||||
|
||||
Reference in New Issue
Block a user