Currently studying Software Design at the University of Applied Sciences in Aschaffenburg ๐ฉ๐ช and working with VueJS 2/3, VuetifyJS and ExpressJS.
View my dotfiles here
Discord Bot to gather data from public APIs using node.js and discord.js! Hacktoberfest Event Project
License: MIT License
Currently studying Software Design at the University of Applied Sciences in Aschaffenburg ๐ฉ๐ช and working with VueJS 2/3, VuetifyJS and ExpressJS.
View my dotfiles here
/animequote
The bot will reply with a random anime quote when the command /animequote
is called.
Also, the bot will reply with a random anime quote from a given anime when the command is called with an anime name.
eg: /animequote Bakemonogatari
commands
folder/listDatabreaches
Please read the CONTRIBUTING.md carefully before getting started!
commands
folder/chucknorris
https://api.chucknorris.io/jokes/random/
Give you a random Chuck Norris joke.
commands
folder/excuse
https://excuser.herokuapp.com/
Return the excuse
message from the response object of https://excuser.herokuapp.com/v1/excuse
commands
folder/guessage
https://agify.io/, https://random-data-api.com/
You can either guess the average age of a random name or enter a name yourself. The bot will then tell you the correct answer after guessing.
commands
folder/urban [term]
https://api.urbandictionary.com/v0/define
Usnig the /urban
with a word or term, the users will be able to get a response from the Urban Dictionary.
example: https://api.urbandictionary.com/v0/define?term=github
commands
folder/breakingbad
https://breakingbadquotes.xyz/
The bot should reply with a random quote from breaking bad.
https://api.breakingbadquotes.xyz/v1/quotes
commands
folder/number
This command will return an interesting fact about numbers by fetching from the API.
commands
folder/myip /serverip
https://www.myip.com/api-docs/
Convenient command to check your IP.
Command to check the servers public IP
Sample output could be
My Public IP Address: 111.222.123.123
My IP Location: Japan
Adding country flags would be nice I think.
commands
folder/chuck
A command that will allow you to pull a random chuck norris joke from endpoint https://api.chucknorris.io/jokes/random
commands
folder/dogfacts
https://kinduff.github.io/dog-api/
The bot will query on the Kinduff Dog API and return facts about dogs. The API always returns a single random fact about dogs, unless specified to return more.
The API takes one optional parameter (?number=5)
Should have features:
Could have features
commands
folder/whatshouldieat
https://www.themealdb.com/api.php
Api that gives you a random Recipe and tells you what to eat
commands
folder/shortenLink [link]
https://github.com/robvanbakel/gotiny-api#usage
The bot should accept the link
parameter and create a POST request to https://gotiny.cc/api to shorten it.
The shortened url should be returned to the user.
Response
{
"long": "https://amazon.com/very-long-url",
"code": "y68hxc"
}
commands
folder/showChessLeaderboard
Please read the CONTRIBUTING.md carefully before getting started!
commands
folderlive_bullet
, live_blitz
and live_rapid
/apod
https://github.com/nasa/apod-api
The bot should take query the NASA Astronomy Picture of the Day API to return whatever the current image of the day is, maybe including the short blurb/author credits/etc. Could potentially add extra flags for things like specifying a different day if a user wants to look at other days.
commands
folder/trivia
https://opentdb.com/api_config.php
Add a command which asks the question and expects an answer. The question should contain the category of the question.
This could for example be implemented with only true/false questions.
Optional: Implement a second parameter to the command defining the difficulty (easy/medium/hard)
commands
folder/bored
https://www.boredapi.com/api/activity/
a command to generate a random activity to kill boredom , just type /bored and the bot will reply with a message suggesting what to do
commands
folder/horoscope
https://aztro.readthedocs.io/en/latest/
The API retrieves daily horoscopes for yesterday, today, and tomorrow. It has a package for node js also which can help to build this API. It requires name of sign like aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius and pisces.
commands
folder/catpic
This command will respond with a random picture of a cat.
commands
folder/GIF
This command returns a GIF from the API based on a search query term, a random GIF, or a trending GIF.
commands
folder/duckpic
This command will respond with a random picture of a duck.
commands
folder/affirmation
Writes a random affirmation message fetched from the API
commands
folder/uptime
None
This bot will reply with how much time its been up.
For example, if we invoke this command it will say:
StatsBot has been up since Sun, 08 Nov 2020 10:31:04 GMT for a total of: 1 year, 10 months, 24 days, 23 hours, 30 minutes and 11 seconds
commands
folder/npm
https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md
The bot will query on the NPM Registry API and return defails about packages registered on the NPM. The api endpoint can be found here https://registry.npmjs.org
Parameters:
latest
Should Have Features:
Could Have Features:
author
and repository
fields from the searchcommands
folder/dogfact
https://github.com/kinduff/dog-api
/dogfact returns a random dogfact!
commands
folder/techy
https://github.com/PerryPal21/Techy-API
This command generates random tech-savvy phrases. It takes no input and is executed only with the use of /techy
commands
folderPlease assign this issue to me
/countryInfo [country]
https://restcountries.com/#api-endpoints-v3-name
The bot should require a country parameter.
This parameter should be used to get data about the country
example:
https://restcountries.com/v3.1/name/germany
commands
folder/numberfact
The bot should reply with a random number fact from the api
http://numbersapi.com/random
commands
folder/mathquestion
The bot should ask a math question from the xMath API.
The bot should also wait for a response from the user and reply with correct/incorrect and the solution.
There is an optioni to set max and min for the generated numbers.
https://x-math.herokuapp.com/api/random?max=400&min=20
commands
folder/websiteicon [domain]
The command should require another parameter.
This parameter is the domain name of a website like google.com
or discord.com
.
The api returns the favicon of the site, which then should be returned to the user.
Example:
https://icon.horse/icon/discord.com
commands
folder/motivation
https://nodejs-quoteapp.herokuapp.com/
The bot should reply with a random motivational quote (Maybe wrap 'quote' in backticks
)
https://nodejs-quoteapp.herokuapp.com/quote
commands
folder/locateISS
http://open-notify.org/Open-Notify-API/
The command returns current latitude and longitude locations of International Space Station.
If possible, would like to map these outputs to the actual place name as well and display it as a well-formatted sentence.
commands
folder/weather [city]
The bot should have a second required parameter [city] with a dropdown menu of all available cities.
Add a few cities with their latitude and longitude and use these to request the weather.
The WMO Weather interpretation codes
could be useful (parameter: weathercode)
https://open-meteo.com/en/docs#api-documentation
commands
folder/joke
https://v2.jokeapi.dev/joke/Any
Calls API and send back joke
commands
folder/foxpic
This command will respond with a random picture of a fox.
No response
N/A
N/A
Hi, there are instances that I want to submit bugs or issues not related to adding of command.
As of now, the only type is New Command
.
Can we have an issue template for bugs or just for discussions? Like this issue for example.
What do you think?
N/A
/dogpic
This command will respond with a random picture of a dog.
No response
/contest
The bot will query for contest details specific for websites like CodeForces, CodeForces::Gym, TopCoder, AtCoder, CodeChef, CS Academy, HackerRank , HackerEarth , Kick Start , LeetCode for more details visit Kontests
commands
folder/picsum
I'd like to learn making Discord Bots for Hacktoberfest by creating a command called /picsum. It will return a random stock image provided from the api.
commands
folder/dictionary [word]
The command should take one required parameter word
.
This word should be sent to https://api.dictionaryapi.dev/api/v2/entries/en/<word>
to get the dictionary entry.
The reply to the user should contain information about the definition and synonyms of the word. (Additional information welcome)
commands
folder/truefact
The command should display a random true fact.
Remember to add the url parameter ?language=en
to get the response as JSON.
commands
folder/meme
reddit.com/r/memes/random/.json
Show random memes
commands
folder/avatar
no api
Show user avatar or mentioned user avatar
commands
folder/crypto [currency]
https://documenter.getpostman.com/view/5734027/RzZ6Hzr3
The bot should have a required parameter [currency] and reply with useful statistics.
Also if possbile, display the image for selected currency.
https://api.coinstats.app/public/v1/coins?skip=0&limit=5¤cy=EUR
commands
folder/shortner
This command will create short link for given URL
commands
folder/catfact
https://meowfacts.herokuapp.com/
/catfact
command display random facts about cats.
commands
folder/holidays
https://www.abstractapi.com/holidays-api
/holidays
command replies with a list of holidays.
It has country, year, and day options
and will show a list of holidays specific to the options provided
e,g - /holiday country|IN year|2022
results - holidays list from India in 2022 in an embedded form
commands
folder/onthisday
This command will return the history events happened on the same date in the past by fetching from the API.
commands
folder/series
https://catchtheshow.herokuapp.com/api/documentation
I want to work on a command to see the details for any TV/Web series for Hacktoberfest. It will include the summary, previous and upcoming episode details, rating, and cover image of the series.
commands
folder/programmingcontests
The bot should reply with a list of the next 5 upcoming programming contests with details like Name, Link, Start, Duration.
The data needs to be sorted by start_time and.
commands
folderA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.