This flow function acts as a Discord bot.
- Create a Discord bot and note down its bot token.
- Add the bot to a Discord server via the bot's URL.
- Fork this repo into your own GitHub account.
- Go to Flows.network to create a new flow.
- Import the forked repo from your account into flows.network.
- In the Advanced tab, enter a setting named
discord_token
and puts the bot token as its value. - Build and deploy.
- Send a private message to the bot in the Discord server it resides.