Comments (15)
in the config there is an option for giveawayRoleID pass the role ID in there and it should ping that role
from discord-giveaway-bot.
{
"Bot_Info": {
"token": "YOUR_TOKEN_HERE",
"prefix": "YOUR_PREFIX_HERE"
},
"Embed_Defaults": {
"EmbedColour": "RANDOM"
},
"Giveaway_Options": {
"giveawayManagerID": "",
"giveawayRoleID": "",
"giveawayMention": true,
"showMention": true,
"hostedBy": true
}
}
from discord-giveaway-bot.
have you managed to fix this now?
from discord-giveaway-bot.
No it doesnt work
from discord-giveaway-bot.
well explain to me? what doesn't work? have you supplied the role ID? what role is it pinging even though you supplied a role ID?
from discord-giveaway-bot.
It pings again the @everyone role
from discord-giveaway-bot.
can you show me your config.json?
from discord-giveaway-bot.
not a problem i see the error in the code i had forgotten to change giveawayRole to giveawayRoleID
from discord-giveaway-bot.
"Bot_Info": {
"token": "",
"prefix": "g!"
},
"Embed_Defaults": {
"EmbedColour": "RANDOM"
},
"Giveaway_Options": {
"giveawayRoleID": "<@&837296244312375328>",
"showMention": true,
"hostedBy": true
}
}
from discord-giveaway-bot.
first of all make sure that you only supply the ID which in this case would be: 837296244312375328
and secondly you are able to download the new code as this will provide you with any fixes needed
from discord-giveaway-bot.
download here
from discord-giveaway-bot.
ok that works now one question left how can i set that the bots sends the giveway in the hex color F1C40F?
from discord-giveaway-bot.
you'll have to personally edit that which means you'll have to go into index.js then you'll have to add these options to the giveaway manager:
embedColor: "HEXVALUE",
embedColorEnd: "HEXVALUE",
from discord-giveaway-bot.
you good now?
from discord-giveaway-bot.
closing due to inactivity
from discord-giveaway-bot.
Related Issues (20)
- Contributors HOT 16
- Is there any way to rig it? HOT 1
- It has erro when i end the giveaway
- It doesnt seem to work
- Won't create a giveaway
- Randomly throws 502 errors and stops bot
- UnhandledPromiseRejectionWarning HOT 18
- When i execute, say duration is not defined HOT 3
- Everyone can to the giveway HOT 11
- Hey I want to host it in heroku so will I also upload the bat files?? HOT 3
- heyyyyy getting an error on heroku HOT 13
- (node:3405) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'showMention' of undefined HOT 1
- weird storage error HOT 1
- Removing reactions HOT 2
- Sends giveaway 3 times HOT 3
- Changing embed content HOT 2
- TypeError: Cannot read property 'start' of undefined HOT 2
- Long giveaways would randomly break HOT 1
- Preview image uses a copyrighted image HOT 2
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 discord-giveaway-bot.