Comments (11)
On Discord.js 13 the message event changed to
messageCreate
Also, which discord-together version are you using?
Yes and the message event was deprecated so you would continue to recieve the warning until you switch to messageCreate (takes one line to switch)
from discord-together.
@DaSussy I dont know what that is. I used cmd to install the requirements. Then started the bot also thru the same cmd window.
change client.on("message") to client.on("messageCreate")
from discord-together.
Yeah, sorry, I'm going to update the code example
from discord-together.
Hello;
I thiking you are using discord.js v13
In v13 message event is changed with messageCreate
You need to make your message event's messageCreate
That's it
from discord-together.
On Discord.js 13 the message event changed to messageCreate
Also, which discord-together version are you using?
from discord-together.
On Discord.js 13 the message event changed to
messageCreate
Also, which discord-together version are you using?Yes and the message event was deprecated so you would continue to recieve the warning until you switch to messageCreate (takes one line to switch)
@DaSussy I used the commands from the readme.md.
I have been trying to change to messageCreate. But it did gave me other errors. I found multiple places to change it. But you say its just one line. I dont really know what exactly I have to change and where. Can you guide me with the filename or place I need to change this please?
from discord-together.
On Discord.js 13 the message event changed to
messageCreate
Also, which discord-together version are you using?
Yes and the message event was deprecated so you would continue to recieve the warning until you switch to messageCreate (takes one line to switch)
@DaSussy I used the commands from the readme.md.
I have been trying to change to messageCreate. But it did gave me other errors. I found multiple places to change it. But you say its just one line. I dont really know what exactly I have to change and where. Can you guide me with the filename or place I need to change this please?
do you have a command handler?
from discord-together.
@DaSussy I dont know what that is. I used cmd to install the requirements. Then started the bot also thru the same cmd window.
from discord-together.
Don't change this, it would break v12 users..... its depreciated so it would still work
from discord-together.
hey meant to change it in the code example
from discord-together.
Or maybe can I make 2 code example ?
V12 and V13 ?
from discord-together.
Related Issues (20)
- no starting youtube together HOT 1
- Weird invite HOT 7
- Blocking a user from using youtube. HOT 1
- New Activity: Checkers in the Park HOT 4
- New Activities HOT 3
- Code example not working HOT 4
- Invite Customization HOT 1
- Type definition error?
- Add New Activity: Sketch Heads
- Check if all users left an Activity HOT 2
- Add New Activity: Ocho HOT 2
- Please publish to npm HOT 1
- Please fix the Sketchheads activity. HOT 3
- 3 games do not work HOT 2
- youtube dont work? HOT 4
- Add New Activity : Land-io HOT 1
- Sketch Heads no worky HOT 1
- Add New Activity: Ask Away & Know What I Meme
- Hacktoberfest 2022 HOT 3
- Didn't start
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-together.