Skip to content

A Discord Bot that queries different APIs based on commands sent in by users.

Notifications You must be signed in to change notification settings

Mrrwmix/BuddyGuyBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BuddyGuyBot

Description

A discord bot that queries various APIs in response to the commands described here.

Initial Setup

Create a .env file that holds all of your API keys. You will need these keys, formatted like so --

DISCORD_TOKEN=YOUR_KEY_HERE DARK_SKY_KEY=YOUR_KEY_HERE GIPHY_KEY=YOUR_KEY_HERE

Commands

!random

random search

Finds and posts a random gif from giphy.

!pokemon NUMBER or NAME

pokemon command

Uses a Pokemon API to find and post information about a pokemon.

!joke

joke command

Queries the icanhazdadjoke or official-joke-api API to post a joke to the chat.

!sticker

sticker command

Finds a sticker from giphy.

!concerts BAND_NAME

concert search

Searches for upcoming concerts and posts them.

!movie MOVIE_NAME

movie search

Posts information about a movie.

!catfact

Gets a catfact from the Cat Fact API!

!insult

Gets an insult from the Evil Insult Generator.

!advice

Retrieves an advice slip from the Advice Slip API. If a topic is provided, then it will search for advice based on that topic.

For example: !advice friends

advice friends

!photo

Queries lorem picsum and unsplash to send a pleasant, random 500 x 300 pixel photo to the chat.

random photo

!covid

Without parameters, it will provide global statistics for the Covid-19 pandemic.

covid global

With a 2-letter country code passed in, it will provide stats for that country.

covid US

About

A Discord Bot that queries different APIs based on commands sent in by users.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published