GithubHelp home page GithubHelp logo

eskalvar / lookingforgroup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oliverphardman/lookingforgroup

1.0 0.0 0.0 76 KB

A Discord bot for matchmaking.

License: MIT License

JavaScript 100.00%

lookingforgroup's Introduction

LookingForGroup

Welcome! Looking For Group or LFG for short is a bot for the widely popular gamer messaging service Discord.

The Purpose

LFG is a bot designed to help server users form groups with other players. It's essentially a matchmaking service. Players can be automagically placed into groups with other players playing the same game. The bot can also be configured to work with players' skill groups.

For example, LFG can be used to help a player assemble a 5-man team to play a competitive game. This option would be very useful when used with games like Counter-Strike: Global Offensive or Overwatch.

What Happens?

The server admin configures the bot to work with any game, a list of games or a single game. For this example, this server will be dedicated to playing CS:GO competitive matches.

The first user starts a group

!lfg 5 Competitive

5 represents the group size including his or herself. Competitive represents the type of match he/she wants to play.

The group is created resulting in a number of things:

  • The creation of a text channel named a special ID/name that is locked to group members
  • The creation of a voice channel named s special ID/name that is locked to group members
  • The player is assigned a user-level role named the group I

The bot will then post a message in the channel the command was executed in telling all players that a group is waiting for players. Other players can then use a command or can 'react' to that message which will automatically add them to the group.

Once the group has reached its maximum player limit or !lfg start is called, no new players will be able to join the group.

The group will disband when !lfg end is called or when the voice/text channels are inactive for 15 minutes. The channels will be destroyed with the group.

License

This project is licensed under the MIT license and permits modification, redistribution and copying of the source code.

lookingforgroup's People

Contributors

abyss avatar ccninja86 avatar dowzhong avatar hydrothermal avatar lito773 avatar norbipeti avatar

Stargazers

 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.