- Set up the local environment with Node.js v14.17.3.
- Install the HarperDB package globally using npm.
- Run HarperDB on the local machine using the "harperdb run" command.
- Register the local instance on HarperDB Studio and create a schema and tables for the Discord bot.
- Enable and create custom functions for the bot in HarperDB Studio.
- Set up the Discord bot on the Discord Developer Portal, create the bot, and get the Application ID, Public Key, and Bot Token.
- Invite the bot to the Discord server and obtain the Guild ID.
- Implement the Discord bot commands in the custom functions project by handling interactions for slash commands.
- Register the slash commands on Discord using REST API calls.
- Deploy the custom functions to a cloud instance in HarperDB Studio.
- Update the Discord bot's Interactions Endpoint URL with the cloud instance URL.
- Test the Discord bot's functionality by interacting with the slash commands.