Discord-Js-Handler-Template icon indicating copy to clipboard operation
Discord-Js-Handler-Template copied to clipboard

SplitMessage is not a function

Open itsremiofficial opened this issue 3 years ago • 1 comments

in eval command it says that SplitMessage is not a function fix it please.

itsremiofficial avatar Oct 21 '21 13:10 itsremiofficial

Lol its a bit late to say this now but you need to require splitmessage differently now

const {
    Util: {
        splitMessage
    }
} = require("discord.js");

mooogah avatar Dec 26 '21 03:12 mooogah