Parent Directory
|
Revision Log
|
Patch
revision 393 by rakin, Mon Jul 29 17:29:59 2024 UTC | revision 422 by rakin, Mon Jul 29 17:30:09 2024 UTC | |
---|---|---|
# | Line 90 export async function hasPermission(clie | Line 90 export async function hasPermission(clie |
90 | m = msg.member! as GuildMember; | m = msg.member! as GuildMember; |
91 | } | } |
92 | ||
93 | if (member.id !== m.id && member.roles.highest?.position >= m.roles.highest?.position) { | if (member.id === m.id || member.roles.highest?.position >= m.roles.highest?.position) { |
94 | if (msg instanceof Interaction && msg.deferred) { | if (msg instanceof Interaction && msg.deferred) { |
95 | await msg.editReply({ | await msg.editReply({ |
96 | embeds: [ | embeds: [ |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |