GithubHelp home page GithubHelp logo

economybot's Introduction

Hello there! I am Zero ๐Ÿ‘‹๐Ÿป

I am a B.Tech Computer Science Engineering Student @UPES who aspires to be a software developer in the near future, I mainly work as a developer on a VoIP platform called Discord



ย 

ย  ย  ย 





economybot's People

Contributors

zerodiscord avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

economybot's Issues

Failed at start script

I converted this into a repl. I changed all of the things in BotConfig.js and I ran npm install.
I got this error:
`
/home/runner/EconomyBot/index.js:4
client.eco = new Eco.Manager(); // quick.eco
^

TypeError: Eco.Manager is not a constructor
at Object. (/home/runner/EconomyBot/index.js:4:14)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2021-04-23T20_58_13_650Z-debug.log`

pls help

I also tried node index.js and got this error:
๎บง node index.js
/home/runner/EconomyBot/index.js:4
client.eco = new Eco.Manager(); // quick.eco
^

TypeError: Eco.Manager is not a constructor
at Object. (/home/runner/EconomyBot/index.js:4:14)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47

Problem

TypeError: Eco.Manager is not a constructor

error

C:\Users\mrmik\Desktop\EconomyBot-main\node_modules\discord.js\src\structures\Message.js:577
if (typeof options !== 'object') return Promise.reject(new TypeError('INVALID_TYPE', 'options', 'object', true));
^

TypeError [INVALID_TYPE]: Supplied options is not an object.
at Message.delete (C:\Users\mrmik\Desktop\EconomyBot-main\node_modules\discord.js\src\structures\Message.js:577:60)
at C:\Users\mrmik\Desktop\EconomyBot-main\counter.js:18:82
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
[Symbol(code)]: 'INVALID_TYPE'

TypeError: Eco.Manager is not a constructor

/Users/nouhame/Bot_des_cerisiers/Js/economy/index.js:7
client.eco = new Eco.Manager(); // quick.eco
             ^

TypeError: Eco.Manager is not a constructor
    at Object.<anonymous> (/Users/nouhame/Bot_des_cerisiers/Js/economy/index.js:7:14)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47
nouhame@MacBook-Pro-de-PASQUIER economy % 

Error with token

Hello, i get error when i run command node . in Visual Studio Code. I download this project, entered valid token, and run npm install, but I still get this error.

[WS => Manager] Manager was destroyed. Called by:
Error: MANAGER_DESTROYED
    at WebSocketManager.destroy (C:\FluffyBot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:333:54)
    at Client.destroy (C:\FluffyBot\node_modules\discord.js\src\client\Client.js:237:13)
    at Client.login (C:\FluffyBot\node_modules\discord.js\src\client\Client.js:226:12)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:4020) UnhandledPromiseRejectionWarning: Error [TOKEN_INVALID]: An invalid token was provided.
    at WebSocketManager.connect (C:\FluffyBot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:133:26)
    at Client.login (C:\FluffyBot\node_modules\discord.js\src\client\Client.js:223:21)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:4020) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, 
use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:4020) [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.

Update README

Please add information about what the project does, its features, how it works, how to contribute, etc. to the README.md.

Not an issue

Hey could you possibly add the following feature's or guide me in the right way?
!Rob @user
!raid
!crime
!slut

and do you have any tips on how i can add a casino to this exact bot?

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.