Dive into a new era of interactive experiences with RSN Bot, the feature-packed Discord bot designed to elevate your server's engagement. Crafted in JavaScript using the powerful Discord.js library, RSN Bot seamlessly integrates the cutting-edge RsnChat API for an unparalleled chat and image generation experience.
Before you can run the bot, you will need to:
- Install Node.js and npm.
- Clone the repository to your local machine.
- Install the dependencies by running
npm install
. - Create a Discord bot and obtain its token.
- Create a RsnChat account and obtain your API key.
Once you have completed the prerequisites, you will need to configure the bot. To do this, open the settings/config.js
file and replace the following values with your own:
// Discord bot token
token: 'YOUR_BOT_TOKEN',
// RsnChat API key
rsnapi: 'YOUR_API_KEY',
// Channel ID where the bot should listen for messages
ChannelID: 'YOUR_CHANNEL_ID',
// Endpoint to use for RsnChat API calls
endpoint: 'generate',
To run the bot, simply run the following command:
node index.js
Join our discord server to get api key https://discord.gg/6ahRY6am65
If you have any questions or suggestions, then you can join our support server and ask there.