From 878cc050d4311a0d81f602ab37beca265cf4be03 Mon Sep 17 00:00:00 2001 From: Sugden <28943913+NotSugden@users.noreply.github.com> Date: Wed, 12 Feb 2020 21:47:24 +0000 Subject: [PATCH] fix(Guild): use snake case when editing system_channel_flags (#3781) --- src/structures/Guild.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 8c1805792..ca462381f 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -839,7 +839,7 @@ class Guild extends Base { Number(data.defaultMessageNotifications); } if (typeof data.systemChannelFlags !== 'undefined') { - _data.systemChannelFlags = SystemChannelFlags.resolve(data.systemChannelFlags); + _data.system_channel_flags = SystemChannelFlags.resolve(data.systemChannelFlags); } return this.client.api.guilds(this.id).patch({ data: _data, reason }) .then(newData => this.client.actions.GuildUpdate.handle(newData).updated);