Giter Site home page Giter Site logo

1intan99 / lavalink-music-bot Goto Github PK

View Code? Open in Web Editor NEW
29.0 2.0 6.0 6.66 MB

An advance discord music bot, build base on Typescript with Discord.js-light and support for button interaction

License: GNU Affero General Public License v3.0

Shell 0.18% TypeScript 56.92% CSS 19.04% JavaScript 16.33% SCSS 3.81% EJS 3.73%
discord-js-v13 discord-music-bot lavalink lavalink-musicbot discord-bot discord-music

lavalink-music-bot's Issues

Error

> [email protected] build
> npm run clean && npm run delete && npm run compile


> [email protected] clean
> rimraf dist


> [email protected] delete
> rm -rf dist


> [email protected] compile
> tsc --build tsconfig.json

src/Models/MusicChannel.ts:15:14 - error TS2322: Type 'Model<{ [x: string]: any; }, {}, {}, {}, Schema<any, Model<any, any, any, any, any>, {}, {}, {}, {}, DefaultSchemaOptions, { [x: string]: any; }>>' is not assignable to type 'Model<IMusicInterface, {}, {}, {}, any>'.
  The types returned by 'castObject(...)' are incompatible between these types.
    Type '{ [x: string]: any; }' is not assignable to type 'IMusicInterface'.

15 export const IMusic: Model<IMusicInterface> = model("IMusic", IMusicSchema);
                ~~~~~~


Found 1 error.

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.