Skip to content

Latest commit

ย 

History

History
93 lines (71 loc) ยท 2.9 KB

File metadata and controls

93 lines (71 loc) ยท 2.9 KB

๐Ÿ”— Link-Flayer

Discord Node.js npm

A modern Discord bot that brings RSS newsfeeds, instant web searches, and more to your Discord server! ๐Ÿ“ฐ

โœจ Features

  • ๐Ÿ“ฐ RSS News Feed Integration
  • ๐Ÿ” Instant Web Searches
  • ๐Ÿค– OpenAI ChatGPT Integration
  • ๐Ÿ“Š Airtable Database Support
  • ๐ŸŽฎ Interactive Commands
  • ๐ŸŒฆ๏ธ Weather Alerts
  • ๐Ÿ“ˆ Stock Information
  • ๐ŸŽฒ Trivia Games
  • ๐Ÿณ Recipe Suggestions
  • ๐Ÿ’ป Code Snippet Search

๐Ÿš€ Quick Start

Installation

# Using npm
npm install link-flayer

# Or from source
git clone https://github.com/johnfacey/link-flayer.git

Configuration

  1. Get your Discord Bot Token from Discord Developer Portal
  2. Create a .env file with the following variables:
DATABASE_URL=''
TOKEN=''
KEY=''
BASE=''
TABLE=''
OPENAI_API=''
OPENAI_ORG=''

Airtable Setup

Configure your feeds.json with nodes containing:

  • title
  • link
  • category

Airtable Configuration

๐Ÿค– Bot Invitation

Add Link-Flayer to your server using this link: Invite Link

๐Ÿ“ Available Commands

Command Description Example
!help Lists all available commands !help
!chat Queries OpenAI Model !chat what is a pizza
!search Searches RSS Sources !search google
!get Retrieves Search By Index !get 25
!add Add new RSS Source Feed !add http://www.engadget.com/rss.xml
!update Updates all RSS Feeds !update
!quote Random quote !quote
!random Random article !random
!random category Random article by category !random sports
!answer Instant Live Search !answer salesforce
!slang Urban Dictionary Search !slang slang
!stock Stock Information !stock IBM
!play Trivia game !play
!npm NPM package info !npm axios
!alert Weather alerts !alert TX
!calc Calculator !calc 2 + 2
!food Random recipe !food
!code Code snippet search !code python loop
!remind Sets a reminder: !remind 2d1h30m Take out the trash* (d=days, h=hours, m=minutes, s=seconds)

๐Ÿ“ธ Preview

Bot Preview

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.