Coder Social home page Coder Social logo

lowie375 / gyromina Goto Github PK

View Code? Open in Web Editor NEW
97.0 2.0 11.0 2.34 MB

Gyromina, a multipurpose Discord bot with fun + function all in one

Home Page: https://l375.weebly.com/gyromina

License: MIT License

JavaScript 99.99% Procfile 0.01%
discord node-js javascript discord-js bot

gyromina's Issues

"Commands" of the form 'z.x' sometimes cause unexpected results

Bug description

When triggering commands of the form z.x (where x is a single letter), Gyromina occasionally throws errors
(none of these commands exists as of 1.1.11, so this is odd)

Reference code

Reference codes will be logged below as I continue testing

Patterns

Seems to have something to do with command order in client.commands, not sure why
Also seems to affect commands with 1 only alias, likely due to a lack of an array

Additional context

Should be patched as of 1.2.0-alpha.6, though will need to confirm through testing
Will likely not release the patch until 1.2.0 or the next patch since this is not a major issue

Poll isn't recognizing some unicode emojis

Bug description: Every 2nd unicode emoji seems to not be recognized by z.poll. This may have been an unseen consequence of the recent emoji-regex update

Reference code: none (custom error)

Patterns: Appears to only affect every 2nd emoji

bug: process.on("unhandledRejection") at bottom of index file

The process.on("unhandledRejection") should be moved to the top of index.js. While it is unlikely, if something happens with the code executing prior to you creating that, the app would crash.

Gyromina/index.js

Lines 227 to 231 in ceb7ba5

// Emits uncaught promise rejection warnings
process.on('unhandledRejection', error => {
genWarningMsg(client, error);
console.error('Promise Rejection -', error.stack)
});

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.