Skip to content

A discord bot with commands surrounding The Simpsons, Futurama and Rick and Morty and more!

License

Notifications You must be signed in to change notification settings

MitchellAW/FlandersBOT

Repository files navigation

Flanders

Flanders

A bot for sharing your favourite references!

A discord bot with commands surrounding The Simpsons, Futurama, Rick and Morty and more!

Flanders provides commands for The Simpsons, Futurama and Rick and Morty quoting/searching/content. Flanders uses Frinkiac, Morbotron and Master of All Science to provide commands for both random and searchable Simpsons, Futurama and Rick and Morty images/gifs with their appropriate quotes embedded.

Add Flanders to your Discord Server

To view Flanders in Discord's application directory and more easily add Flanders to your own servers, click here
To invite Flanders to your own discord server and start using it now, click here

Thanks to https://discordbots.org/ for listing Flanders!
If you like Flanders, help the bot grow by voting here

Usage

The bot commands can be executed using several different methods/prefixes, to minimise clashing with other discord bots. Any command can be prefixed with an @mention, ned or diddly/doodly when you really want to flaunt those Flanders-isms.

If you're not a fan of any of these prefixes, you can add a new prefix to your server using the setprefix command. (Requires Manage Server Pemissions)

Usage Examples:

@Flanders#0680 info
ned info
diddly info
doodly info
diddly-info
doodly-info

All examples above are valid methods of executing any command below.

Commands

General

Command Description
help Will send a personal message with a list of the commands.
info Will send a personal message with more information about the bot.
prefix Will post the prefixes Flanders responds to on your server.
setprefix [prefix] Sets a prefix Flanders will respond to on your server. (Manage Server Pemissions)
feedback Send a feedback message or suggestions.
stats Will post some of Flanders's statistics.
notifications Toggle notifications for when you are able to vote.
epinfo Will post episode information on the last post made by Flanders in the channel.
meme [caption] Will repost the last gif made by Flanders in the channel with the new caption.

Simpsons

Command Description
simpsons Will post a random Simpsons gif with caption.
simpsons [quote] Searches for a Simpsons gif using the quote.
simpsonstrivia Will start a game of trivia using 100+ questions

Futurama

Command Description
futurama Will post a random Futurama gif with caption.
futurama [quote] Searches for a Futurama gif using the quote.
futuramatrivia Will start a game of trivia using 100+ questions

Rick and Morty

Command Description
rickandmorty Will post a random Rick and Morty gif with caption.
rickandmorty [quote] Searches for a Rick and Morty gif using the quote.

Preview

Support Server

If you need any help with Flanders, would like to provide feedback, suggestions or have any other questions regarding Flanders, join the Flanders Support Server on discord:

Flanders Support

Flanders Discord Bot

Requirements

I'd prefer that instead of running an instance of Flanders yourself you'd just Invite Flanders to your own server.
Or go ahead anyway.

Dependencies

Requires Python 3.5+
python3 -m pip install -U -r requirements.txt

*Utilises the latest version of discord.py *
Depends upon CompuGlobal

Requires PostgreSQL 9.6+

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install postgresql

Requires Node.js v11.6+ for dbl webhook

$ npm install dblapi.js
$ npm install pg

Config

Update settings/config.json with required credentials.

Database Setup

Create Database

sudo -u postgres psql
CREATE ROLE ned WITH LOGIN PASSWORD '<password>';
CREATE DATABASE flandersdb OWNER ned;

Create Tables

$ psql -h 127.0.0.1 -d flandersdb -U ned -f bot.sql

Credits

Creators of Frinkiac, Morbotron, Master of All Science, GoodGod Lemon and Capital Beat Us:

Paul Kehrer Sean Schulte
Allie Young
Source of the higher quality Adventures of Ned Flanders image
/u/nmcfaden