Code Monkey home page Code Monkey logo

Comments (11)

whirlxd avatar whirlxd commented on July 19, 2024 3

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.

milbits avatar milbits commented on July 19, 2024 1

@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.

RemyK888 avatar RemyK888 commented on July 19, 2024 1

Yeah, sorry, I'm going to update the code example

from discord-together.

Scarner56 avatar Scarner56 commented on July 19, 2024

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.

milbits avatar milbits commented on July 19, 2024

On Discord.js 13 the message event changed to messageCreate

Also, which discord-together version are you using?

from discord-together.

Ryckie avatar Ryckie commented on July 19, 2024

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.

milbits avatar milbits commented on July 19, 2024

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.

Ryckie avatar Ryckie commented on July 19, 2024

@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.

dylanjamesdev avatar dylanjamesdev commented on July 19, 2024

Don't change this, it would break v12 users..... its depreciated so it would still work

from discord-together.

whirlxd avatar whirlxd commented on July 19, 2024

hey meant to change it in the code example

from discord-together.

RemyK888 avatar RemyK888 commented on July 19, 2024

Or maybe can I make 2 code example ?
V12 and V13 ?

from discord-together.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.