Skip to content

A Discord bot that tells quotes, gets the weather, and more!

License

Notifications You must be signed in to change notification settings

Team-Gigabyte/quotobot

Repository files navigation

Quotobot

(KWO-toe-bot)
An open source Discord bot that displays 200+ hand-curated quotes, tells you the weather, fetches stock and League info, and more!

Invite Quotobot to your server View the command list Number of quotes

Quotes screenshot

Weather screenshot

Stock screenshot

top.gg stats

Technical Notes

Built with JS CI DeepScan grade DeepSource GitHub license GitHub release (latest SemVer)

This bot mainly uses Node.js and Discord.js. The quotes are stored in an SQLite database and accessed using the sqlite3 module. The weather comes from OpenWeatherMap, stock data comes from Finnhub, and League stats come from the official Riot API. (If you want to see the quotes without using SQLite, take a look at the quotes.db.csv file.)

Acknowledgements

Thank you to:

  • Uddesh. We used part of his weather bot code and modified it for our project.
  • The maintainers of all the open source NPM packages we use.
  • Riot Games, for approving our API key.
    • This bot isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.
  • The OpenWeatherMap and Finnhub APIs, which power some of the bot functions.
  • Material Design Icons, for the quote icon we used to make the bot's logo.
  • All the original photographers of the quote author pictures used. All required credits are in db/portraits.js.
  • All the contributors to this project.
  • Every person who said the quotes in our database.
    • Inclusion of a person's quotes in our database does not imply our endorsement of said person's opinions.

Contribute

Any pull requests are appreciated. If you want to add quotes, you can follow the quote-adding process on a fork, but only do step 1 and submit the pull request. Or, if you have problems with that process, open a GitHub issue with the quote, author, and a source (website that has the quote).

License

This project is licensed under the MIT license. You can use it for pretty much anything as long as you credit us. However, if you use the quotes from our database, you must put credit in the same place where you display the quote.

Donate?

Donate today

Thank you for reading to the end. If you learned something from the bot, or have enjoyed using it, please consider donating here. All donations help us continue maintain this, which we have spent countless hours working on. Thank you!

<script> fetch("https://quotoserve.vercel.app/randquote") .then(res => res.json()) .then(res => { document.getElementById("randquote").innerHTML = "
" + res.quote + "
" + res.author + "
" }) .catch() </script>