add_category
π RADAR Documentation - Command: Add Shop Category
π€ Command Group: shop
π Command Name: add_category
π Parameters:
shop(required: True) - Which shop to add the category to. (Type: string)name(required: True) - Category Name. (Type: string)description(required: True) - Category Description. (Type: string)icon(required: False) - Icon for the category. (Type: string)emoji(required: False) - An emoji for the category. (Type: string)is_global(required: False) - Is this category global? (Admin Only). (Type: boolean)
π Description:
Add a category to the specified shop.
π Example Usage:
Add a category to a shop:
!add_category --shop MyShop --name Collectibles --description Collectible items --emoji πThis command is used to add a category to a shop. You need to specify the
shopparameter as the name of the shop, thenameparameter as the name of the category, thedescriptionparameter as the description of the category, and optionally set theemojiparameter to an emoji to represent the category (e.g., π).
π Note:
This command allows you to add a category to a shop in your Solana NFT community.
Specify the
shopparameter as the name of the shop you want to add the category to.Specify the
nameparameter as the name of the category.Specify the
descriptionparameter as the description of the category.Optionally, you can set the
iconparameter to add an icon for the category.Optionally, you can set the
emojiparameter to an emoji to represent the category.By default, the category is not global. If you want to make it global (admin-only), set the
is_globalparameter totrue.After adding the category, a success message will be displayed indicating that the category has been added.
Last updated
Was this helpful?