# Utilities blocks

> 15 blocks in the Utilities category.

[All blocks](https://inventor.bot/docs/reference/blocks.md)

| Block | ID | Description |
| --- | --- | --- |
| [Log Error](https://inventor.bot/docs/reference/blocks/utilities/log-error.md) | `log_error` | Log an error to the errors dashboard. |
| [Get Error Details](https://inventor.bot/docs/reference/blocks/utilities/get-error-details.md) | `get_error_details` | Retrieve details of a logged error. |
| [Discord API Ping](https://inventor.bot/docs/reference/blocks/utilities/discord-api-ping.md) | `discord_api_ping` | Measure current patency to the Discord API. |
| [Change Bot Status](https://inventor.bot/docs/reference/blocks/utilities/change-bot-status.md) | `change_bot_status` | Update the bot's presence and status text. |
| [Get Server Count](https://inventor.bot/docs/reference/blocks/utilities/get-server-count.md) | `get_server_count` | Get the number of servers the bot is in. |
| [Custom Loop](https://inventor.bot/docs/reference/blocks/utilities/advanced-custom-loop.md) | `advanced_custom_loop` | Loop over a customized range of numbers. |
| [Check Permission](https://inventor.bot/docs/reference/blocks/utilities/is-permission-in-bitfield.md) | `is_permission_in_bitfield` | Check if a permission exists in a bitfield. |
| [Member/Role Has Permissions](https://inventor.bot/docs/reference/blocks/utilities/member-role-has-permissions.md) | `member_role_has_permissions` | Check if a member or role has specific permissions. |
| [Redact Secret](https://inventor.bot/docs/reference/blocks/utilities/redact-secret.md) | `redact_secret` | Redact a secret (e.g. example -> e*****e). |
| [Get Bot Details](https://inventor.bot/docs/reference/blocks/utilities/get-bot-details.md) | `get_bot_details` | Get cached details of the current branch's bot user. |
| [Generate Snowflake ID](https://inventor.bot/docs/reference/blocks/utilities/generate-snowflake-id.md) | `generate_snowflake_id` | Generate a unique Snowflake-like ID. |
| [Update Local Variable](https://inventor.bot/docs/reference/blocks/utilities/update-local-variable.md) | `update_local_variable` | Set a local variable to a new value. |
| [Append New Line to Local Variable](https://inventor.bot/docs/reference/blocks/utilities/append-new-line-to-local-variable.md) | `append_new_line_to_local_variable` | Append text to a local variable on a new line. |
| [Comment](https://inventor.bot/docs/reference/blocks/utilities/comment.md) | `comment` | Add a note or comment to your flow. This block does nothing when run. |
| [Increment or Decrement Local Variable](https://inventor.bot/docs/reference/blocks/utilities/increment-local-variable.md) | `increment_local_variable` | Increment or decrement a numeric local variable by a value. |