Build chat bots with blocks

wait for message in channel (channel) from user (user) time out after (timeout)

In Discord → Messages; Discord → Channels

Jump to block

Wait for a message in a Discord channel.

Requires the following blocks to be present in the project: discord login


Parameter name Parameter type Required? Description
channel channel The channel to wait for a message in.
user user The user to wait for a message from.
timeout time The maximum amount of time to wait for a message.


message - The message received. If the timeout is hit or the channel/thread/server is deleted, this will be null.