Rename permission_overwrites to permissionOverwrites

This commit is contained in:
ayyanm
2020-10-29 10:38:40 -07:00
parent 03c36ee361
commit 47ede28f5d
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ export async function hasChannelPermissions(
let everyoneOverwrite: RawOverwrite | undefined;
let rolesOverwrites: RawOverwrite[] = [];
for (const overwrite of channel.permission_overwrites || []) {
for (const overwrite of channel.permissionOverwrites || []) {
// If the overwrite on this channel is specific to this member
if (overwrite.id === memberID) memberOverwrite = overwrite;
// If it is the everyone role overwrite