Example Slash Tags
The following examples show the capabilities of slash tags.
Command Execution Example
This slash tag adds a /ban
command that can be used to ban users.
Arguments:
Name | Description | Type | Required |
---|---|---|---|
victim | A member to ban. | member | True |
reason | The reason for the ban | string | False |
[p]slashtag add ban {c:ban {victim(id)} {reason}}
Context Menu Example
This slash tag adds a view user info user command that shows user information by invoking the user info command.
Arguments: None
[p]slashtag user "View user info" {c:userinfo {target_id}}
Quick reactrole Example
[p]tag add qr {c:reactrole create emoji1;role1 emoji2;role2 emoji3;role3 {args} #2f3136 Quick Roles}