Comments (2)
Yes, the emoji seems to be the problem here, I'll look into it right now.
from discord-giveaway-bot.
Okay, here's the mistake: You can't just get emojis like that, if you want to use a custom emoji you have to define it first and then put the definition into the code.
For example:
const tick_emoji = client.emojis.cache.get('emoji-id')
await msg.react(tick_emoji)
msg.reactions.cache.get(tick_emoji)
The emoji-id only needs the number for example: <a:tick:791208682607870003>
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
- that the bot doenst do a @everyone ping HOT 15
- 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.