Giter Club home page Giter Club logo

bug-searching-tool's People

Contributors

alipoodle avatar ginkoid avatar hampuskraft avatar ks00908 avatar rage0001 avatar webhp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

alipoodle

bug-searching-tool's Issues

Comments command

The command would display comments of the provided ticket. How should this be formatted is a good question...

Ticket argument should work with all trello urls and just the card id.

-comments ticket

Search command doesn't work if bot is hosted in Russia

For whatever reason, it throws this

Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:183:27)
(node:2004) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I think that implementing some sort of proxy for the API calls could help ๐Ÿค”

Alipoodle's List of things to add eventually.

Easier improvements

  • Emojis for Board
    Similar to EvilDabbit, display an emoji before a board. This needs to be either Default emoji / Custom one.
  • Better Error handling for lack of emojis (For P0,1,low,mid ETC) to revert back to plain text or something ๐Ÿคทโ€โ™‚
let emojiID = client.config.get(`emotes.${name}`)
let emoji = client.emojis.get(emojiID)
if (emoji) return `<:${emoji.name}:${emoji.id}>`
else       return `**${name}**`
  • Check for permissions on Embedding to prevent errors for Lack of permissions
message.guild.me.permission.has('EMBED_LINKS')
  • Show Multiple attachments. Better check for images on attachments.
  • Change labels to just a foreach This should reduce a little bit of code.

Harder improvements

  • Create a easier means for searching on things such as title, reporter ETC.
    This can be achieved by doing description: Reported By Alipoodle#5025 but would be easier if we manipulated it ourselves instead of inputting that manually.

Less required:

  • Check for if Trello Key/Token is invalid.
  • Along with the searching on reporter, have something to search how many reports users have on each board as a little bit of a fun thing.
  • Website?

Improved Help + Aliasing

Detailed Description

  • Help: provide help on how to use a command.
    • Brief Description of Command
    • Usage of command
    • Help Command to display stuff. (Both Single + All commands)

  • Aliases: Alternative means of running a command
    • On Command load, create aliases list
    • On Command run, check for aliases of a command
    • In Each Command, add needed Aliases (Also goes with the help stuff above)

Example of help stuff needed in commands
Example help command

Alias code:

// Main file.
client.aliases = new Enmap();
// Command Load
 props.conf.aliases.forEach(alias => {
      client.aliases.set(alias, props.help.name);
    });
// events/message.js
// Getting Command
const cmd = client.commands.get(command) || client.commands.get(client.aliases.get(command));

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.