Giter Club home page Giter Club logo

laffey-bot's Introduction

laffey-bot

discord bot with valorant commands, and more!

ko-fi

valorant commands

valorant-setchannel

sets the current channel of the server for the bot to send updates to

valorant-info

retrives the user's saved info from the playerData.json database.

  • in game name
  • in game tag
  • latest time - time when user is added, changes to most recent played game

valorant-watch <name> <tag>

adds the discord user to the playerData.json database. the bot will send an embed when it detects the user has completed a game.

  • in game name
  • in game tag
  • riot PUUID
  • latest time - time when user is added, changes to most recent played game

valorant-unwatch

removes the user from the playerData.json database. the bot will stop watching for the user's games.

valorant-wait *<wait_user>

pings the user when the bot has detected the wait_user has completed a game. wait_user must be currently watched and in database.
for the prefix command, multiple users can be tagged in the command

valorant-waitlist

returns an embed with the current waiting list. shows each wait_users and the users waiting for them.

how to setup

.env

BOT_TOKEN

place your Discord Application token in here.

RIOT_TOKEN

place your Riot API key in here. (currently unused at the moment)

HOLODEX_TOKEN

place your Holodex API key in here.

CRYPTO_TOKEN

place your CoinAPI API key in here.

DEFAULT_PREFIX

place the prefix the bot will default to when joining a new server

SLASH_ENABLED

int: 1 or 0. 1 to enable slash-commands, 0 to disable.

PREFIX_ENABLED

int: 1 or 0. 1 to enable prefixed commands, 0 to disable.

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.