mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
deno fmt
This commit is contained in:
@@ -89,7 +89,7 @@ export async function addReactions(
|
||||
);
|
||||
} else {
|
||||
for (const reaction of reactions) {
|
||||
await addReaction(channelID, messageID, reaction)
|
||||
await addReaction(channelID, messageID, reaction);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ export function memberIDHasPermission(
|
||||
const member = guild.members.get(memberID);
|
||||
if (!member) return false;
|
||||
|
||||
return memberHasPermission(member.guildID, guild, member.roles, permissions)
|
||||
return memberHasPermission(member.guildID, guild, member.roles, permissions);
|
||||
}
|
||||
|
||||
/** Checks if the member has this permission. If the member is an owner or has admin perms it will always be true. */
|
||||
@@ -224,7 +224,7 @@ export function higherRolePosition(
|
||||
|
||||
// Rare edge case handling
|
||||
if (role.position === otherRole.position) {
|
||||
return role.id < otherRole.id
|
||||
return role.id < otherRole.id;
|
||||
}
|
||||
|
||||
return role.position > otherRole.position;
|
||||
|
||||
Reference in New Issue
Block a user