GithubHelp home page GithubHelp logo

nuggies-bot / nuggies-npm Goto Github PK

View Code? Open in Web Editor NEW
44.0 2.0 16.0 1.03 MB

A utility package for Discord Bots!

Home Page: https://www.npmjs.com/package/nuggies

License: Other

JavaScript 100.00%
discord discordjs giveaways discord-giveaways buttons discord-buttons discord-js discord-bot nodejs

nuggies-npm's People

Contributors

assassin-1234 avatar chopchop534 avatar dependabot[bot] avatar documatic-docs[bot] avatar elijahahianyo avatar face-hh avatar fb-sean avatar legitmate avatar lightninbolt986 avatar pro-gamer007 avatar skibop avatar theramann 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

Watchers

 avatar  avatar

nuggies-npm's Issues

Type Error: Cannot read property 'send' of undefined

Describe the bug
Type Error:
message.guild.members.cache.get(user).send(dmEmbed);
^

TypeError: Cannot read property 'send' of undefined
at \nuggies\src\classes\giveaways.js:109:43

To Reproduce
Simply just run a giveaway

Expected behavior
Supposed to run smoothly

Desktop
-Windows

  • Latest Version
  • Node Version - v16.4.0

Additional context
Was working fine a day ago, then I think after a new update in giveaways, a bug happened

Interaction Failed, Button Roles

Describe the bug
When making button roles, everything works clearly, but on click of the button, a sign appears of "This Interaction Failed"

To Reproduce
Steps to reproduce the behavior:
Make a button role
Click On The Button
You should see the "This Interaction Failed" message

Expected behavior
Give the role to the user when clicked

Screenshots
Button

Desktop (please complete the following information):

  • Windows
  • Latest Version of Nuggies
  • Node version is v16.4.0

Additional context
I have everything copied and pasted from github, nothing appears in MongoDB, no errors in the console. I also have discord-buttons required, so im not sure what the problem is.

Add Typescript for Intellisense

Is your feature request related to a problem? Please describe.
It will be awesome if you guys can adapt something like Typescript for the clear and concise intellisense of the package. It is just optional cuz like 95% of the devs use javascript but it would be nice to have such a feature :)

I could be making future pr's regarding this.

Love the package. Keep Going ๐Ÿ‘๐Ÿป

Code examples

instead of making a repo for each feature just make a folder named examples

Bug/Error In Dropdown-Roles

Expected a context menu with custom label , embed , emoji and role
but here's what I found:

static async create(client, { content, role, channelID, type, min, max }) {
^

TypeError: Cannot destructure property 'content' of 'undefined' as it is undefined.
Path - [ nuggies/src/classes/v13/dropdownroles.js:40:32) ]

I found the fix , but you guys please update the docs
(in dropdown roles section , type parameter isn't listed)

identation

why the indentation in readme bad
readme not that hard to make

Buttons not showing

The Buttons of Discord are not showing in Embed

Hey there. I was playing around with this package and this ashtonished me. But i have a problem which is that the buttons of the embed are not showing. Here is a quick screenshot

image

Expected behavior
The buttons are supposed to show here in the embed

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Package Version: 1.2.6
  • Node Version: 14

Additional context
Nothing else. Love the Package <3. Keep on the work

Giveaways

Hey,
make it possible to make a giveaway without a mongodb in else fs or quick.db

Editing buttons

Hey,
i have a suggest to make an something cool.
ill explain,
for example the bot will send any message with button and when i click the button it will be removed and adding another buttons with other options.

Mongodb connect

Hello, why if i use your package i cant put my mongodb link into an env file?
I did Nuggies.connect(process.env.MONGO)

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.