Git Product home page Git Product logo

statsbot's Introduction

Hi, I'm Julian

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

statsbot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

statsbot's Issues

Add /animequote command using the Anime-chan API

Command Name

/animequote

Public API Resource

https://animechan.vercel.app/

Description

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

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /excuse command using Excuser API

Command Name

/excuse

Public API Resource

https://excuser.herokuapp.com/

Description

Return the excuse message from the response object of https://excuser.herokuapp.com/v1/excuse

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /guessage command using agify.io API

Command Name

/guessage

Public API Resource

https://agify.io/, https://random-data-api.com/

Description

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.

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /urban command using Urban Dictionary's API

Command Name

/urban [term]

Public API Resource

https://api.urbandictionary.com/v0/define

Description

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

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /breakingbad command using Breaking Bad Quotes API

Command Name

/breakingbad

Public API Resource

https://breakingbadquotes.xyz/

Description

The bot should reply with a random quote from breaking bad.
https://api.breakingbadquotes.xyz/v1/quotes

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /number command using numbersapi.com

Command Name

/number

Public API Resource

http://numbersapi.com/

Description

This command will return an interesting fact about numbers by fetching from the API.

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /server-ip command using myip.com

Command Name

/myip /serverip

Public API Resource

https://www.myip.com/api-docs/

Description

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.

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /chuck command using Chuck Norris Jokes api

Command Name

/chuck

Public API Resource

https://api.chucknorris.io/

Description

A command that will allow you to pull a random chuck norris joke from endpoint https://api.chucknorris.io/jokes/random

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /dogfacts command using Kinduff Dog API

Command Name

/dogfacts

Public API Resource

https://kinduff.github.io/dog-api/

Description

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:

  • The bot will take an optional parameter of the number of facts to be returned

Could have features

  • The bot could potentially take another parameter of a filter as a search word and query the API until it finds a result of the search word.

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /whatshouldieat command using The Meal DB

Command Name

/whatshouldieat

Public API Resource

https://www.themealdb.com/api.php

Description

Api that gives you a random Recipe and tells you what to eat

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /shortenLink command using Go Tiny API

Command Name

/shortenLink [link]

Public API Resource

https://github.com/robvanbakel/gotiny-api#usage

Description

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"
}

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /apod command using NASA Astronomy Picture of the Day

Command Name

/apod

Public API Resource

https://github.com/nasa/apod-api

Description

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.

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request to NASA's API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /trivia command using Open Trivia Database

Command Name

/trivia

Public API Resource

https://opentdb.com/api_config.php

Description

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)

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /bored command using boredapi

Command Name

/bored

Public API Resource

https://www.boredapi.com/api/activity/

Description

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

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /horoscope command using aztro.io

Command Name

/horoscope

Public API Resource

https://aztro.readthedocs.io/en/latest/

Description

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.

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /catpic command using random cat API

Command Name

/catpic

Public API Resource

https://aws.random.cat/meow

Description

This command will respond with a random picture of a cat.

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /GIF command using GIPHY

Command Name

/GIF

Public API Resource

https://api.giphy.com/v1/gifs

Description

This command returns a GIF from the API based on a search query term, a random GIF, or a trending GIF.

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /duckpic command using RandomDuck

Command Name

/duckpic

Public API Resource

https://random-d.uk/api

Description

This command will respond with a random picture of a duck.

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /affirmation command using affirmations.dev API

Command Name

/affirmation

Public API Resource

https://www.affirmations.dev/

Description

Writes a random affirmation message fetched from the API

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /uptime command

Command Name

/uptime

Public API Resource

None

Description

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

Implementation Details

  • Add a new javascript file in the commands folder
  • Use the Javascript Date class to initialize the date
  • Countdown the time passed since the date is initialized

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /npm command using NPM Registry API

Command Name

/npm

Public API Resource

https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md

Description

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:

  • Required - package name: The package's name that the user wants to get its details
  • Optional - package version: Specific package version or latest

Should Have Features:

  • The bot should accept both parameters, hit the endpoint and get the data requested

Could Have Features:

  • The user can opt in / opt out the fields that he wants to be returned from the bot.
    eg user wants to get only author and repository fields from the search

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /dogfact command using DogApi

Command Name

/dogfact

Public API Resource

https://github.com/kinduff/dog-api

Description

/dogfact returns a random dogfact!

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /techy command using Techy-API

Command Name

/techy

Public API Resource

https://github.com/PerryPal21/Techy-API

Description

This command generates random tech-savvy phrases. It takes no input and is executed only with the use of /techy

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Please assign this issue to me

Add /countryInfo command using REST Countries API

Command Name

/countryInfo [country]

Public API Resource

https://restcountries.com/#api-endpoints-v3-name

Description

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

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /numberfact command using Numbers API

Command Name

/numberfact

Public API Resource

http://numbersapi.com/

Description

The bot should reply with a random number fact from the api
http://numbersapi.com/random

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /mathquestion command using xMath API

Command Name

/mathquestion

Public API Resource

https://x-math.herokuapp.com/

Description

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

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /websiteicon command using Icon Horse API

Command Name

/websiteicon [domain]

Public API Resource

https://icon.horse/

Description

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

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /motivation command using Motivational Quotes API

Command Name

/motivation

Public API Resource

https://nodejs-quoteapp.herokuapp.com/

Description

The bot should reply with a random motivational quote (Maybe wrap 'quote' in backticks)
https://nodejs-quoteapp.herokuapp.com/quote

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /locateISS command using Open-Notify-API

Command Name

/locateISS

Public API Resource

http://open-notify.org/Open-Notify-API/

Description

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.

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /weather command using Open Metro Free Weather API

Command Name

/weather [city]

Public API Resource

https://open-meteo.com/en

Description

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

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /joke command using Joke API

Command Name

/joke

Public API Resource

https://v2.jokeapi.dev/joke/Any

Description

Calls API and send back joke

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Reporting a bugs or other issues not related to adding of command

Command Name

N/A

Public API Resource

N/A

Description

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?

Implementation Details

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /contest command using Kontests.net api

Command Name

/contest

Public API Resource

https://kontests.net/api

Description

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

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /picsum command using Lorem Picsum API

Command Name

/picsum

Public API Resource

https://picsum.photos/

Description

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.

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /dictionary command using Free Dictionary API

Command Name

/dictionary [word]

Public API Resource

https://dictionaryapi.dev/

Description

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)

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /truefact command using Random Useless Facts API

Command Name

/truefact

Public API Resource

https://uselessfacts.jsph.pl

Description

The command should display a random true fact.
Remember to add the url parameter ?language=en to get the response as JSON.

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /avatar command using no api's

Command Name

/avatar

Public API Resource

no api

Description

Show user avatar or mentioned user avatar

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /crypto command using public CoinStats API

Command Name

/crypto [currency]

Public API Resource

https://documenter.getpostman.com/view/5734027/RzZ6Hzr3

Description

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&currency=EUR

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add shortner command using shrtcode API

Command Name

/shortner

Public API Resource

https://api.shrtco.de/v2/

Description

This command will create short link for given URL

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /catfact command using meowfacts

Command Name

/catfact

Public API Resource

https://meowfacts.herokuapp.com/

Description

/catfact command display random facts about cats.

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /holidays command using Abstract Holidays API

Command Name

/holidays

Public API Resource

https://www.abstractapi.com/holidays-api

Description

/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

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /onthisday command using ZenQuotes API

Command Name

/onthisday

Public API Resource

https://today.zenquotes.io/

Description

This command will return the history events happened on the same date in the past by fetching from the API.

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /series command using CatchMyShow API

Command Name

/series

Public API Resource

https://catchtheshow.herokuapp.com/api/documentation

Description

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.

Implementation Details

  • Add a new javascript file in the commands folder
  • Use axios fetch the data from your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add /programmingcontests command using Kontests API

Command Name

/programmingcontests

Public API Resource

https://kontests.net/api

Description

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.

Implementation Details

  • Add a new javascript file in the commands folder
  • Implement a API request with the help of axios to your public API
  • Format the data in a readable way and send it to the user
  • Use the discord.js docs to get started

Code of Conduct

  • I agree to follow this project's Code of Conduct

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.