Actions › Lookup
Find Category
Looks up an existing category by name — useful to check whether it already exists before creating it
- Free
- Outputs: Success, Failure
Fields
What you set in Properties. The grey name is the one in the Blueprint's JSON.
| Field | What it does | |
|---|---|---|
Name name | The category name to search for | required |
What it passes on
On the Success output, for the nodes after it. Click a value in the editor to copy its reference.
| Data | Path | Type | |
|---|---|---|---|
| Category ▸ ID | category.id | Text | can be empty |
| Category ▸ Name | category.name | Text | can be empty |
| Category ▸ Type | category.type | Text | can be empty |
| Category ▸ Type (in words) | category.typeText | Text | can be empty |
| Category ▸ Category ▸ ID | category.category.id | Text | can be empty |
| Category ▸ Category ▸ Name | category.category.name | Text | can be empty |
| Data | Path | Type | |
|---|---|---|---|
| Category ▸ Topic | category.topic | Text | can be empty |
| Category ▸ NSFW | category.nsfw | Yes/No | can be empty |
| Category ▸ URL | category.url | Text | can be empty |
| Category ▸ Created At | category.createdAt | Date | can be empty |
| Category ▸ Slowmode | category.slowmode | Number | can be empty |
| Category ▸ Members | category.members | List | can be empty |
| Found | found | Yes/No |
When it fails
The Failure output receives success (false) and error: error.code, error.message in the server's language, and error.detail, what Discord said. The possible causes are in Errors.
Discord permissions
None: the bot needs no server permission for this node.