Aditya-Kolla / Dota2Bot_discord

A discord bot for our Dota 2 discord server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dota2Bot Discord (D2Bot)

A discord bot for our Dota 2 discord server.

This bot uses the OpenDota API to fetch the Dota 2 stats of the users in our Dota 2 Discord server. The bot is built using the discord.js module.

Prefix the command name with '!' to use it.

Command List

me - This command is used to setup your name and opendota ID with our database. It takes two arguments- name and the opendota ID.

remove - This command removes your profile from our database. It takes no argument.

ping - Try this command for fun.

medal - This command prints your medal rating

MEDAL - This is a global command. It is used to fetch the medal ratings of all players in DB.

kda - This command fetches your last game's Kill Death Assists.

KDA - This is a global command. It is used to fetch the last game's KDA of all registered players.

wl - This command fetches your overall win and loss percentage.

WL - This is a global command. It is used to fetch the win rate of all registered users.

1v1 - This command takes two arguments- names of two registered users and puts them against each other. Calculating lifetime and recent games stats to declare one player as the winner.

help - This command displays all commands available with some explanations for each one.

More to come

About

A discord bot for our Dota 2 discord server.


Languages

Language:JavaScript 100.0%