Power-ups
Discord Power-ups
Discord power-ups overview
The Discord power-ups give your bot the power to interact with your Discord server beyond simply responding to @mentions via the Discord channel integration.
Requires the Discord channel to be enabled
Before you can use any of the Discord power-ups you must have integrated your bot with your Discord server by enabling and configuring the Discord channel.
Discord get history power-up
The Discord get history power-up lets your bot pull message history from a Discord channel on demand. It's useful for cross-channel summaries, or for asking about messages older than the @mention context window your bot sees by default.
If you'd like to limit the bot to a single channel, you can pin it using the channel selector in the power-up settings; otherwise it will pick a channel by name when it needs to.


Add the bot to the channel
Your bot can only read history from channels it has been granted access to in Discord. Make sure it has been added to the channel before asking it to fetch history.