Bot Started trigger

Introduction

Activates when a custom bot instance is initiated, either manually or due to FlexyBot maintenance.

Configuration

No configuration needed. It automatically triggers on every bot startup.

Key Points

  • Operates only on shard 0 in multi-sharded bots to avoid duplicate executions.

  • Useful in scenarios where bots are frequently restarted or updated.

Usage

Ideal for running initialization tasks. For instance, setting a custom presence each time the bot starts.

Troubleshooting Ensure the bot has the necessary permissions for any start-up actions.

Note Best suited for essential start-up procedures, not routine tasks.

Last updated