/[sudobot]/trunk/docs/app/(docs)/commands/automation/createreactionrole/page.mdx
ViewVC logotype

Annotation of /trunk/docs/app/(docs)/commands/automation/createreactionrole/page.mdx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 575 - (hide annotations)
Mon Jul 29 17:59:26 2024 UTC (8 months ago) by rakinar2
File size: 1787 byte(s)
chore: add trunk
1 rakinar2 575 ---
2     title: "Command: `createreactionrole` - SudoBot"
3     short_name: createreactionrole
4     ---
5    
6     import Modes from "@/components/MDX/Modes";
7    
8     # `createreactionrole`
9    
10     Adds a reaction listener to the message, and when a user reacts with the given emoji, it will assign the given role(s).
11    
12     ### Aliases
13     `createreactrole`
14     `makereactrole`
15     `makerr`
16     `createrr`
17    
18     ### Syntax
19    
20     ```
21     -createreactionrole [messagelink] [emoji] [role]
22     -createreactrole [messagelink] [emoji] [role]
23     -makereactionrole [messagelink] [emoji] [role]
24     -makerr [messagelink] [emoji] [role]
25     -createrr [messagelink] [emoji] [role]
26     /createreactionrole message_link: [messagelink] emoji: [emoji] roles: [role] (OPTIONAL) mode: Single and unique role/Multiple (Default)
27     ```
28    
29     ### Required Permissions
30    
31     `ManageRoles`
32    
33     ### Modes
34    
35     <Modes modes={["legacy", "interaction"]} />
36    
37     ### Examples
38    
39     ```
40     -createreactionrole https://discord.com/channels/1234567891011121314/1234567891011121314/1413121110987654321 🛠️ @role1
41     -createreactrole https://discord.com/channels/1234567891011121314/1234567891011121314/1413121110987654321 💼 @role2
42     -makereactrole https://discord.com/channels/1234567891011121314/1234567891011121314/1413121110987654321 🎫 @role3
43     -makerr https://discord.com/channels/1234567891011121314/1234567891011121314/1413121110987654321 🛡️ @role4
44     -createrr https://discord.com/channels/1234567891011121314/1234567891011121314/1413121110987654321 🚀 @role5
45     /createreactionrole message_link: https://discord.com/channels/1234567891011121314/1234567891011121314/1413121110987654321 emoji: 🪓 roles: @role 6 mode: mode: Single and unique role
46     /createreactionrole message_link: https://discord.com/channels/1234567891011121314/1234567891011121314/1413121110987654321 emoji: 🤖 roles: @role 7 mode: mode: Multiple (Default)
47     ```

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26