Comments (9)
Somewhat like that
from 1shot.
from 1shot.
let msg = await message.channel.send({ embed: yourhelpembed });
await msg.react('cut-paste-the-emoji-inside-a-string'); //do await msg.react() for every new emoji
const filter = (react, m) => m.id === ['cut-paste-all-the-emojis-the-bot-will-react'].includes(reaction.emoji.name) && message.author.id; //make sure the emojis are seperated with a comma as it is an array
const collector = msg.createReactionCollector(filter, {
time: 1000 //remove time option if you dont wanti it, give time in ms, look for other options on discord.js docs
});
collector.on('collect', async (reaction, user) => {
//do something
});
collector.on('end', async (collected) => {
//will only end if the time option has been given or if collector.stop() has been called
});
from 1shot.
i am on phone rn and will not be active for 2-3 days so you might get a delayed response from my side
from 1shot.
Umm
from 1shot.
Can i have the code please cuz what i tried didnt work
from 1shot.
Heres what umm i tried (Its way different than what u told plz help me)
https://pastebin.com/4epFtd8T
from 1shot.
i really cant understand anything from your code,
from 1shot.
Firez i fixed it but now i am getting a new error TypeError: Cannot read property 'channel' of undefined
from 1shot.
Related Issues (20)
- I can't start the bot giving this error HOT 1
- Your discord plz? HOT 1
- error HOT 1
- Req HOT 2
- Trying to Add it to custom server Need support server HOT 3
- phonecall HOT 1
- How to pick up call HOT 1
- instasearch command HOT 1
- bro play command not work HOT 1
- help HOT 2
- Others Copy Your Repository !! HOT 2
- Others copying your repo! HOT 1
- how to fix this error HOT 4
- Bug Report HOT 3
- Hey buddy HOT 1
- HELP HOT 1
- Update to djs v13? HOT 1
- I tried to add a command to the help but it doesn't work HOT 3
- setting owner to use serverlist command HOT 1
- Updated Genius API Lyrics Command - TypeError: Cannot read properties of undefined (reading 'hits') HOT 6
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 1shot.