Giter Club home page Giter Club logo

miscord's People

Contributors

aceaero avatar duncantperkins avatar michaeltcoyle avatar tomped avatar xyfer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

miscord's Issues

Change the parser to use a hash table for commands

At the moment the parser uses an array of commands and has a switch for each element of the array to execute the functions.
Change the parser to use a hash table for commands (.command = key, actual function = value) for increased clarity.

What meme?

  • Nate saying: "F*ck it -- I'm walking back" ๐Ÿ–•
  • Witch Doctor ๐Ÿฅ
    • "STICK a booonee in it!" ๐Ÿ–
    • "You're bones will make a fine a powder!" (Tom)

Add your ideas to this as the come.

Message received through webhook crash the Miscord

Everything works correctly and links to FB messenger for users typing in chat from discord. However, when I send notifications to the Discord channel via webhook (using pokealarm) I get the error below that the nickname is null. If I set showUsername to false Miscord just stops responding.

C:\miscord\index.js:46
body: config.discord.showUsername ? (message.member.nickname || message.author.username) + ': ' + content : content, ^

TypeError: Cannot read property 'nickname' of null

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.