fmt on src folder

This commit is contained in:
Skillz
2020-08-07 10:13:07 -04:00
parent 602337bc2c
commit 8cf4f137b9
7 changed files with 23 additions and 24 deletions
+2 -2
View File
@@ -259,7 +259,7 @@ export async function createGuildRole(
const roleData = result as RoleData;
const role = createRole(roleData);
const guild = cache.guilds.get(guildID)
const guild = cache.guilds.get(guildID);
guild?.roles.set(role.id, role);
return role;
}
@@ -511,7 +511,7 @@ export function channelHasPermissions(
const role = guild.roles.get(roleID);
if (!role) return bits;
bits |= BigInt(role.permissions_new)
bits |= BigInt(role.permissions_new);
return bits;
}, BigInt(0));