İçeriğe geç

Problems

Bu içerik henüz dilinizde mevcut değil.

The Problems panel checks your project every time a file changes, before the bot runs. Errors stop a flow from working. Warnings point at something that probably isn’t what you meant. The runtime prints the same checks when it starts.

Click a problem to open the flow and select the block.

Code Level What it means How to fix it
invalid-file Error A flow file isn’t valid JSON, doesn’t match the flow format, defines a command name twice, or doesn’t have exactly one Start block. Fix the file. The message says what’s wrong.
invalid-project Error makecord.json is missing or invalid. Fix the field named in the message.
unknown-node Error A block’s type isn’t provided by any loaded plugin. Install the plugin and add it to plugins, or delete the block.
wrong-context Error A block is used in a kind of flow it doesn’t support. Use a different block.
wrong-event Error A block only works for certain events, like Suggest Choices in autocomplete flows. Move the block to a flow for that event.
command-conflict Error Some flows for a command have subcommands and others don’t, or there are more than 25 subcommands. Give every flow of that command a subcommand, or rename the plain one.
unhandled-autocomplete Warning An option uses autocomplete, but no autocomplete flow has its command.option target. Create an autocomplete event flow with that target.
needs-interaction Error A block that answers someone, like Reply or Show Form, is in a flow nobody can be answered in, such as a member joining. Use Send Message or Send DM instead.
missing-message Error A block uses a message design that doesn’t exist. Create the design in messages/, or pick another one.
unhandled-component Warning A button or menu in a design has a custom ID that no event flow handles. Add a button or menu event flow with that custom ID, or a pattern like vote:*.
missing-schedule Error A schedule flow doesn’t say when it runs. Pick the flow’s Start block and set the time in Properties.
invalid-field Error A block setting is missing or out of range. Select the block and fill in the setting.
dangling-edge Error A connection points to a block that no longer exists. Delete the connection.
multiple-edges Warning More than one connection leaves the same port. Only the first runs. Keep one connection per port.
unreachable Warning A block isn’t connected to Start, so it never runs. Connect it, or delete it.
missing-intent Warning An event flow needs an intent that isn’t in makecord.json, or reads {{message.content}} without MessageContent. Use the quick fix on the problem, which adds the intent for you.