Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.73 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.73 KB

🤖 ElihuBot

Open Source Love License: MIT

This is a simple bot that listens to the RSS feed of your choice and posts an update into a selected discord channel.

Prerequisite

  1. Go to the Discord Developers Portal.

  2. Click on the New Application button, enter your desired bot name, and click Create.

  3. In your new application, go to the Bot tab, click Add Bot, and confirm Yes, do it!

  4. Change your bot's Public Bot setting off so only you can invite it, save, and then get your Bot Token with the Copy button. Go in index.js file to replace <BOT_TOKEN_HERE>

discordToken: "<BOT_TOKEN_HERE>",
  1. Replace <CLIENT_ID_HERE> in the following URL and visit it in the browser to invite your bot to your new test server.
https://discordapp.com/api/oauth2/authorize?client_id=<CLIENT_ID_HERE>&permissions=8&scope=bot
  1. First, enable developer mode in your client so you can easily copy IDs.

  2. Go to your User Settings and click on the Appearance tab. Under Advanced, enable Developer Mode.

  3. Right click the server icon and click Copy ID. Go in index.js file to replace <GUILD_ID_HERE>

guildID : "<GUILD_ID_HERE>",
  1. Create a test channel. Right click a channel name and click Copy ID. Go in index.js file to replace <GUILD_PRIMARY_CHANNEL_HERE>
guildPrimaryChannel : "<GUILD_PRIMARY_CHANNEL_HERE>",

Installation & Run Bot

Install node libraries

npm install

Run application

node index.js