Comments (24)
Do you have the function Messages in your index.js or ready event?
from nuggies-npm.
thinking emoji
from nuggies-npm.
Hows it supposed to look, and whats it for if it requires only the client param?
from nuggies-npm.
Here's an example:
Nuggies.giveaways.Messages(client, {}); // The options can be empty for default ones
from nuggies-npm.
š docs says opposite
from nuggies-npm.
Docs aren't completed so there may be some wrong options, etc.
from nuggies-npm.
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.
nice it crashed the bot
from nuggies-npm.
What djs version?
from nuggies-npm.
v13.1.0
from nuggies-npm.
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.
Fixed by deleting the old data, is it possible to add multiple roles in the requirements?
from nuggies-npm.
why bruh, clicker is removed in v13
from nuggies-npm.
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.
from nuggies-npm.
why bruh, clicker is removed in v13
Missed one š
from nuggies-npm.
bruh, and no one noticed
from nuggies-npm.
As I said, missed one š¤·
from nuggies-npm.
š©āš¦²
from nuggies-npm.
lmk when you commit :ye: also unblock me
from nuggies-npm.
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.
he said in dsc
from nuggies-npm.
š©
from nuggies-npm.
I think this is fixed so imma just close this xd
from nuggies-npm.
Related Issues (15)
- Bug/Error In Dropdown-Roles
- identation HOT 6
- readme.md too long HOT 3
- Code examples HOT 6
- i LIKE YA CUT G HOT 2
- Buttons not showing HOT 13
- Add Typescript for Intellisense HOT 2
- Type Error: Cannot read property 'send' of undefined HOT 7
- Editing buttons HOT 2
- Interaction Failed, Button Roles HOT 1
- People won't be able to enter giveaways when the bot would be down. HOT 3
- Giveaways HOT 4
- Mongodb connect HOT 6
- Button Roles Feature Request HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuggies-npm.