Parent Directory
|
Revision Log
|
Patch
revision 210 by rakin, Mon Jul 29 17:29:02 2024 UTC | revision 220 by rakin, Mon Jul 29 17:29:04 2024 UTC | |
---|---|---|
# | Line 20 export async function hasPermission(clie | Line 20 export async function hasPermission(clie |
20 | m = msg.member! as GuildMember; | m = msg.member! as GuildMember; |
21 | } | } |
22 | ||
23 | if (member.roles.highest?.position >= m.roles.highest?.position) { | if (member.id !== m.id && member.roles.highest?.position >= m.roles.highest?.position) { |
24 | if (msg instanceof Interaction && msg.deferred) { | if (msg instanceof Interaction && msg.deferred) { |
25 | await msg.editReply({ | await msg.editReply({ |
26 | embeds: [ | embeds: [ |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |