Skip to content

Commit fca859c

Browse files
Update rolePerms.md
- Incorrect function $hasPerms mentioned, it should be $rolePerms - Fixed the example output
1 parent d842247 commit fca859c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

guide/Role/rolePerms.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Returns the role key permissions.
77
<br/>
88
<discord-messages>
99
<discord-message :bot="false" role-color="#ffcc9a" author="Member">
10-
!!exec $hasPerms[$roleID[muted]; | ]
10+
!!exec $rolePerms[$roleID[muted]; | ]
1111
</discord-message>
1212
<discord-message :bot="true" role-color="#0099ff" author="Custom Command" avatar="https://media.discordapp.net/avatars/725721249652670555/781224f90c3b841ba5b40678e032f74a.webp">
13-
viewchannel | readmessages
13+
View Channel | Read Message History
1414
</discord-message>
1515
</discord-messages>
1616

@@ -23,4 +23,4 @@ Check this [list](../CodeReferences/ref.permissions_list.md) to view all permiss
2323
:::
2424

2525
##### Function difficulty: <Badge type="warning" text="Medium" vertical="middle" />
26-
###### Tags: <Badge type="tip" text="Role" vertical="middle" /> <Badge type="tip" text="Perms" vertical="middle" /> <Badge type="tip" text="permissions" vertical="middle" /> <Badge type="tip" text="rights" vertical="middle" /> <Badge type="tip" text="hadRolePerms" vertical="middle" />
26+
###### Tags: <Badge type="tip" text="Role" vertical="middle" /> <Badge type="tip" text="Perms" vertical="middle" /> <Badge type="tip" text="permissions" vertical="middle" /> <Badge type="tip" text="rights" vertical="middle" /> <Badge type="tip" text="hadRolePerms" vertical="middle" />

0 commit comments

Comments
 (0)