GithubHelp home page GithubHelp logo

Comments (24)

LegItMate avatar LegItMate commented on July 23, 2024

Do you have the function Messages in your index.js or ready event?

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024

thinking emoji

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024

Hows it supposed to look, and whats it for if it requires only the client param?

from nuggies-npm.

LegItMate avatar LegItMate commented on July 23, 2024

Here's an example:

Nuggies.giveaways.Messages(client, {}); // The options can be empty for default ones

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024

šŸ™„ docs says opposite

from nuggies-npm.

LegItMate avatar LegItMate commented on July 23, 2024

Docs aren't completed so there may be some wrong options, etc.

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024
    if (!message.client.customMessages.giveawayMessages) message.client.customMessages.giveawayMessages = defaultManagerOptions;
                                       ^

TypeError: Cannot read property 'giveawayMessages' of undefined

      Nuggies.giveaways.Messages(client, {});
      Nuggies.giveaways.create({

šŸ˜„

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024

nice it crashed the bot

from nuggies-npm.

LegItMate avatar LegItMate commented on July 23, 2024

What djs version?

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024

v13.1.0

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024

changed it to

Nuggies.giveaways.Messages(client, {
  dmWinner: true,
  giveaway: 'šŸŽ‰ **GIVEAWAY** šŸŽ‰',
  giveawayDescription: 'šŸŽ Prize: **{prize}**\nšŸŽŠ Hosted by: {hostedBy}\nā²ļø Winner(s): `{winners}`\n\nRequirements: {requirements}',
  endedGiveawayDescription: 'šŸŽ Prize: **{prize}**\nšŸŽŠ Hosted by: {hostedBy}\nā²ļø Winner(s): {winners}',
  giveawayFooterImage: 'https://cdn.discordapp.com/emojis/843076397345144863.png',
  winMessage: '{winners} you won {prize} Congratulations! Hosted by {hostedBy}',
  rerolledMessage: 'Rerolled! {winner} is the new winner of the giveaway!', // only {winner} placeholder
  toParticipate: '**Click the Enter button to enter the giveaway!**',
  newParticipant: 'You have successfully entered for this giveaway', // no placeholders | ephemeral
  alreadyParticipated: 'you already entered this giveaway!', // no placeholders | ephemeral
  noParticipants: 'There are not enough people in the giveaway!', // no placeholders
  noRole: 'You do not have the required role(s)\n{requiredRoles}\n for the giveaway!', // only {requiredRoles} | ephemeral
  dmMessage: 'You have won a giveaway in **{guildName}**!\nPrize: [{prize}]({giveawayURL})',
  noWinner: 'Not enough people participated in this giveaway.', // no {winner} placerholder
  alreadyEnded: 'The giveaway has already ended!', // no {winner} placeholder
  dropWin: '{winner} Won The Drop!!', // only {winner} placeholder
});

and its still

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024

Fixed by deleting the old data, is it possible to add multiple roles in the requirements?

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024

why bruh, clicker is removed in v13
image

from nuggies-npm.

LegItMate avatar LegItMate commented on July 23, 2024

Fixed by deleting the old data, is it possible to add multiple roles in the requirements?

Yes that's why its an array

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024

sussy baka
image

from nuggies-npm.

LegItMate avatar LegItMate commented on July 23, 2024

why bruh, clicker is removed in v13
image

Missed one šŸ’€

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024

bruh, and no one noticed

from nuggies-npm.

LegItMate avatar LegItMate commented on July 23, 2024

As I said, missed one šŸ¤·

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024

šŸ‘©ā€šŸ¦²

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024

lmk when you commit :ye: also unblock me

from nuggies-npm.

Assassin-1234 avatar Assassin-1234 commented on July 23, 2024

what version are you using? cuz I remember reverting the changes in v1.3.8, still I havent seen the repo activity in a while so I might be wrong

from nuggies-npm.

pro-gamer007 avatar pro-gamer007 commented on July 23, 2024

he said in dsc

from nuggies-npm.

face-hh avatar face-hh commented on July 23, 2024

šŸ˜©

from nuggies-npm.

Assassin-1234 avatar Assassin-1234 commented on July 23, 2024

I think this is fixed so imma just close this xd

from nuggies-npm.

Related Issues (15)

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.