method decorateBot

Add extra properties to the bot.

:::info[Lifecycle Method]

This method is a lifecycle method and gets run during the bot's lifecycle.

:::

This can be used to add middleware onto the bot.

Parameters

NameDescription
bot

No Description

Return Type

TDecoratedBot