Discord bot for post links based on RSS and others. Also it has commands.
MongoDB
npm install mongoose
JSON File
npm install uuid
- BOT_TOKEN: Discord Application token
- LOG_FILE: Desired log file path (./data/Bot.log)
- CONNECTION_STRING: Connection string for desired BD type
- JSON (./data/Daedalus.json)
- MongoDB (mongodb://localhost:27017/Daedalus)
- HOST: Web portal host (localhost)
- PORT: Web portal port (3000)
- YOUTUBE_KEY: Youtube API Key
- GOOGLE_SEARCH_ENGINE: Google Programmable Search Engine ID
- GOOGLE_SEARCH_KEY: Google Custom Search API Key
- UDEMY_ID: Udemy API ID
- UDEMY_SECRET: Udemy API Key
Write /help
for commands help.
Just add to links folder your file with format:
host.domain.js
module.exports = (date, link) => {
return new Promise( (resolve, reject) => {
// YOUR CODE
});
}
TODO:
- Add admin password
- Replace request module
- Improve workaround to add commands
- Add more database connectors
- Improve frontend design
- Improve error control
- Improve logger