Welcome to v2! Click here to access legacy sign-in for v1 bots.
inventor.bot logoinventor.bot
EditorAIDocsPricing
EditorAIDocsPricing
Log inGet StartedDashboard
Log inGet StartedDashboard
DocumentationReference
Browse triggers and blocks
Overview
Triggers
Auto Moderation4
Channels5
Interactions6
Invites2
Members8
Messages10
Reactions3
Roles3
Scheduled Event5
Scheduling1
Servers5
Stage Instance3
Threads3
Blocks
Advanced Messages14
Auto Moderation5
Channels10
Databases10
Emojis5
Interactions6
Invites5
Logic11
LoopWhile LoopIf StatementAdvanced ConditionalConditional ValueFolderBreakContinueExit FlowCall Custom BlockReturn
Math16
Messages19
Modals2
Network6
Reactions6
Regex4
Roles6
Scheduled Event5
Servers6
Strings33
Threads15
Time12
Users13
Utilities15
Webhooks7
Reference/Blocks/Logic

Folder

BlockLogic

Organize blocks into a folder. Creates a variable scope.

Inputs

Contents

Contents

Holds blocks

Build a bot using blocks like Folder

Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Get Started
Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: folder

Inputs

FieldInventScript nameValue
Contentsfolder_contentsblocks: func() { ... }

Example InventScript

{
}

More logic blocks

LoopRun the nested blocks a fixed number of times.While LoopRepeat blocks while a condition is true.If StatementCompare two values and run different blocks based on the result.Advanced ConditionalRun different blocks based on grouped comparisons.Conditional ValueCompare two values and output one of two values based on the result.BreakStop the current loop and continue with the blocks after it.ContinueSkip the rest of this loop iteration and move to the next one.Exit FlowStop the entire flow immediately. No further blocks will run.Call Custom BlockCall a custom block and use its returned outputs.ReturnReturn outputs from the current custom block and stop executing it.
inventor.bot logoinventor.bot

Build a custom Discord bot for free.

Product

  • Editor
  • Marketplace
  • AI
  • Pricing

Resources

  • Docs
  • Status
  • Downloads
  • Dedicated
  • llms.txt

Compare

  • vs BotGhost
  • vs BotWiz
  • vs BDFD

Community

  • Discord
  • Bluesky
  • X (Twitter)
  • YouTube

Legal

  • Terms of Service
  • Privacy Policy
  • Refund Policy
  • Report Abuse
  • Security

© 2023-2026 inventor.bot. All rights reserved.

inventor.bot is an independent hosting provider and is not affiliated with Discord.

Discord is a trademark of Discord Inc. App Store and MacOS are trademarks of Apple Inc. Android and Google Play are trademarks of Google LLC. All other brand names, product names, or trademarks are the property of their respective owners.