📚
Disblock
  • Disblock Documentation
  • Getting Started
  • First steps
  • Supporting
  • Dashboard
    • Logs
    • Rollbacks
  • Events
    • Events
  • Blocks
    • Blocks
    • Embeds blocks
    • Temporary variables blocks
    • Slash commands
      • Forms
    • Data storage blocks
  • miscellaneous
    • How to get the Discord ID of something
    • Troubleshooting
  • Terms & privacy policy
    • Terms of Use
    • Privacy Policy
Powered by GitBook
On this page
Edit on GitHub
  1. Blocks

Temporary variables blocks

PreviousEmbeds blocksNextSlash commands

Last updated 1 year ago

Instead of calling every time the same blocks to get a value in an event, you can get it one time, and save it temporarily with the temporary variables blocks. Here is the example :

These variables can't be shared between events, and are deleted after the execution.

The message's content is saved in a temporary variable, and the content is got later to reply to the message.