GithubHelp home page GithubHelp logo

jaxenormus / shopkeeper Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 6.0 41 KB

A discord bot made to provide an easy to use shopping experience built with the discord.js library

Home Page: https://calebdelbridge.com

License: Other

JavaScript 100.00%
bot discord-bot shopkeeper

shopkeeper's People

Contributors

jaxenormus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

shopkeeper's Issues

Cannot read property id of undefined on remove seller command

node:122) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'id' of undefined
at Object.run (/home/runner/shopperbot/shopkeeper/src/commands/shop/removeseller.js:12:45)
at Client. (/home/runner/shopperbot/shopkeeper/src/index.js:55:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:122) 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:122) [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.

Other commands are working fine but now this command

Cant add a Seller

I only can add items when i am a seller i tried to do that but the bot gives me this message:
"The link you provided is invalid"

How do you obtain a MongoUri

I have everything configured and dependencies installed. Just cant find out what and how to obtain this uri thing.

removeseller.js

/home/runner/ShopKeeper/commands/shop/removeseller.js:12
let seller = message.mentions.first.id
^

TypeError: Cannot read properties of undefined (reading 'id')
at Object.run (/home/runner/ShopKeeper/commands/shop/removeseller.js:12:45)
at Client. (/home/runner/ShopKeeper/index.js:55:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

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.