Giter Club home page Giter Club logo

ggis-bot's Introduction

ggis-bot's People

Contributors

dependabot-preview[bot] avatar malouro avatar mlouro-icims avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

kryptouk sonhunuk

ggis-bot's Issues

Source Code Documentation

There are many parts of the source code that are hard to figure out without decent comments or documentation. At the very least, utility functions & methods should have JSDoc comments for what the params are and what the resulting output is. Additionally, certain handlers are missing documentation.

Update LFG game list

Is your enhancement related to an existing command or feature?
LFG

Describe the solution you'd like
Updating the current list of LFG games to add more modern popular games and (possibly) removing older irrelevant entries.

Additional context

List of some new game candidates:

  • Phasmophobia
  • Fall Guys
  • Call of Duty
  • Genshin Impact

Game mode candidates:

  • LoL
    • Nexus Blitz, Urf ?
  • ??? < need more research >

Feel free to comment below if there is a game that you wish added into the default LFG list

Add "notes" to LFG requests

Is your feature request related to an existing command or feature? Please describe.
LFG

Describe the solution you'd like
A way to add additional information to the LFG party request. For example, if it's a lobby for Rocket League, adding a note like "Trying to rank up, but also would be down to play for fun", etc.

Some ways this could look in the command interface:

  • via double quotes around the note:
!lfg lol aram "just for fun"
  • via other enclosing tags?
!lfg lol aram [just for fun]
!lfg lol aram `this is serious`
!lfg lol aram |I don't really care|

Contribution Guidelines

Write out a CONTRIBUTING.md file that explains how to go about providing contributions to ggis-bot

Some things to include within the contribution guidelines are:

  • Opening/taking an issue
  • Making a PR
  • Commit style
    • Squash commit back to master with specific commit style
  • Code style
  • Merge check requirements
  • CHANGELOG or release notes?

Allow for an array of options for !settings

Example format:

const configOptions = {
  '<scope>': {
    arrayOption: {
      type: 'array'
    }
  }
}

Optionally, allow to specify the type of elements for the array too:

const configOptions ={
  '<scope>': {
    arrayOption: {
      type: 'array-of-strings'
    }
  }
}

Make #text-channels and @users setting types

Is your enhancement related to an existing command or feature?
Server/bot settings

Describe the solution you'd like
To allow user input of a #text-channel or @User for a bot/command setting via the !settings command

Additional context
Text channels are seen by the bot as something like: <#TEXT_CHANNEL_ID> and user mentions as <@!USER_ID>, so setting.js should parse these string inputs and perhaps cross-check that they are valid channels/users within the guild the command was invoked in?

Add Rank as well as Platform as an LFG

Hey mate,

Not sure if you check this anymore as I see that the last time it was updated was 10 months ago, but I've been trying my best to add Platform and Rank to the currently LFG code, could you shed some light on how I can approach this?

TIA

User isn't removed when reaction is deleted

When a LFG is run and a party has been created, if a user reacts to the embed and joins the party, but then removes the reactions, they are not removed from the embed itself.

GitHub Page / Wiki

Let's document stuff in a better place. IE: making a webpage (GitHub Pages?) or a wiki page (GitHub Wiki)

(more details to come)

Command only channel and delete non commands in that channel

Is your feature request related to an existing command or feature?
Yes, it's related to the !lfg command.

Describe the solution you'd like
To set an LFG channel for the command to be used in, such as !settings lfg lfgchannel #lfg and another command such as !settings lfg commandonly true to only allow commands in that channel, can be turned off.

Additional context
Spoke to you via Discord about this so a lot of the information is there

Testing & Automation

Making more tests & hooking it up to CI.

  • Code coverage on handlers, commands, etc.
  • More End-to-end tests, where it makes sense
  • Linting, formatting, spellcheck?
  • Git Hooks?

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.