Skip to content
jsh edited this page Sep 27, 2020 · 1 revision

These commands create and display macros of text or images, known as tags.

Command group

Command: tag
Aliases: None
Preconditions: AttachFiles
Required Context: Guild

Commands

Command: tag <tagName>
Aliases: None
Preconditions: AttachFiles
Parameters: <tagName> - Name of the tag to show;
Description: Displays a tag.
Expected Result: The specified tag is shown.

Command: tag add <tagName> <content>
Aliases: None
Preconditions: AttachFiles
Parameters: <tagName> - The name of the tag to create; <content> - The content of the tag;
Description: Adds a tag to the server.
Expected Result: A new tag is added to the server.

Command: tag update <tagName> <content>
Aliases: None
Preconditions: AttachFiles
Parameters: <tagName> - The name of the tag to update; <content> - The new content of the tag;
Description: Adds a tag to the server.
Expected Result: A new tag is added to the server.

Command: tag list <optional keywords>
Aliases: None
Preconditions: None
Parameters: <optiona keywords> - Keywords to use;
Description: Lists all tags on the server, optionally filtering by keywords.
Expected Result: A list of optionally filtered tags is shown.

Command: tag remove <tagName>
Aliases: None
Preconditions: AttachFiles
Parameters: <tagName> - The name of the tag to remove;
Description: Removes a tag from the server.
Expected Result: The specified tag is removed from the server.

Command: tag requireadmin <requireAdmin>
Aliases: None
Preconditions: Administrator
Parameters: <requireAdmin> - A "true" or "false" value;
Description: Set a server to require admin roles for adding or removing tags.
Expected Result: Either tags can now be added by anybody, or just administrators.

Clone this wiki locally