Skip to content

iansind/discord-foodbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-foodbot

Discord bot that integrates into a cooking-themed server.
Note that the following variables must be added to a .env file in the same folder:

  • DISCORD_TOKEN={your token here}
  • DISCORD_GUILD={your guild name here}

The bot will confirm connection to the server and return a list of the current members.
Upon a new member joining, the bot will direct message them a welcome message.

Client-side commands:

  • "!recipe {dish}" - returns a url to the top result of that dish from allrecipes.com.
  • "!temp {meat}" - returns the recommended internal temperature of a meat.
  • "!isolate {url}" - returns lines consisting only of ingredient list and directions from a given allrecipes.com URL, using a BeautifulSoup-based web scraper.
  • "!milk" - begins a series of prompts requesting user input regarding milk quality metrics. If a value is unknown, imputes the value with the appropriate measure. These variables are fed into a previously-trained milk quality classifier, with the predicted grade returned to the requestor.

More on the classifier:

About

Discord bot that integrates into a cooking-themed server using the Discord API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published