Giter Club home page Giter Club logo

dr-breerb's Introduction

dr-breerb's People

Contributors

tenrys avatar

Stargazers

 avatar

Watchers

 avatar

dr-breerb's Issues

Error on !help

When running !help this is outputted by the bot
https://toploli.club/up/i/Discord_1532644920.png
:interrobang: JavaScript error: from command 'help' TypeError: category.commands.map is not a function at Command.category.addCommand [as callback] (src\commands\base\help.js:31:117) at Client.bot.client.on (src\commands.js:141:31) at emitOne (events.js:121:20) at Client.emit (events.js:211:7) at MessageCreateAction.handle (node_modules\discord.js\src\client\actions\MessageCreate.js:24:14) at MessageCreateHandler.handle (node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:5:53) at WebSocketPacketManager.handle (node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:103:65) at WebSocketConnection.onPacket (node_modules\discord.js\src\client\websocket\WebSocketConnection.js:322:35) at WebSocketConnection.onMessage (node_modules\discord.js\src\client\websocket\WebSocketConnection.js:285:10) at WebSocketClient.internalOnMessage (node_modules\uws\uws.js:103:17) at native.client.group.onMessage (node_modules\uws\uws.js:57:15)

Error on !volume with newest release

ReferenceError: volume is not defined
at Command.category.addCommand [as callback] (src\commands\chatsounds\volume.js:6:13)
at Client.bot.client.on (src\commands.js:141:31)
at emitOne (events.js:121:20)
at Client.emit (events.js:211:7)
at MessageCreateAction.handle (node_modules\discord.js\src\client\actions\MessageCreate.js:24:14)
at MessageCreateHandler.handle (node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:5:53)
at WebSocketPacketManager.handle (node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:97:65)
at WebSocketConnection.onPacket (node_modules\discord.js\src\client\websocket\WebSocketConnection.js:322:35)
at WebSocketConnection.onMessage (node_modules\discord.js\src\client\websocket\WebSocketConnection.js:285:10)
at WebSocketClient.internalOnMessage (node_modules\uws\uws.js:103:17)
at native.client.group.onMessage (node_modules\uws\uws.js:57:15)

Command system to-do

  • Add "Usage" and/or "Example" fields to help (low priority)
  • Add paging if I go over the number of possible fields (25), though unlikely
  • CommandContext object
    • Argument types, auto resolve
    • Argument names
    • Message sending methods, command property on created message
    • ?
  • Turn command availability check into a function

Chatsounds to-do

Find a better way to require

require.main.require doesn't play well with VSCode IntelliSense.
Normal require is a bit of a pain to manage... so what to do?

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.