GithubHelp home page GithubHelp logo

krug-bot's Introduction

KrugBot

KrugBot is a discord bot that aims to provide easy access to League Of Legends statistics. This is done by fetching data from the RiotAPI and outputting the results to the user, in an easy to read, simplistic way.

To-Do List

  • Make API key and discord token a global .env variable
  • Create !help command
  • Implement database and log summoner name to user; use mongodb for backend

Command List

Search summoner by name

!summoner <summoner name>

Check if summoner name is available

!checkname <summoner name>

Community Discord

https://discord.gg/mDwTQ3J

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

node >= v13.1.0
npm >= v6.12.1

Installing

A step by step series of examples that tell you how to get a development env running

First, clone the repository onto your local system

git clone https://github.com/taylorallen0913/krug-bot 

Install all npm packages required

npm install

Create a .env file in source folder; add your discord token and riot api key

DISCORD_TOKEN = <your discord token>
APIKEY = <your riotapi key>

To start the bot, run this command

node index.js

To stop the bot, enter this keystroke

CTRL + C

Built With

  • npm - Javascript package installer
  • Node.js - Javascript server environment
  • Discord.js - Javascript library for the Discord API
  • Requst - Javascript library for fetching data from APIs

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

License: MIT
This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • A big inspiration to this project was the League of Legends site, OP.GG. OP.GG is a site which utilizes the Riot API for summoner searching. This project was started because I wanted to make that data more accessable to the general public because a lot of gamers use Discord and may not want to go through the hassle of the ads and nonsense present in using a browser.

krug-bot's People

Contributors

taylorallen0913 avatar

Watchers

James Cloos avatar  avatar

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.