#I got this ``TypeError Cannot read
1 messages ยท Page 1 of 1 (latest)
I do this for the moment
I'm doing everything raw right now
You need my index.js ?
try to do this channel = bot.channels.cache.get("id")
That's work
Thank you ๐
But now I want to take the content of the message before edit him
yw
Just need to stock in anther place ?
then() have the message you retrieved you can access its content
Okay thank you
๐
I do this
But i got the id of the message + Hello
Like this
And in this case, before I have Hello and after command I want Hello Hello
you have all these properties and the one you want is content
good luck
Eventually I have a last question: Actually I have this if (message.author.id == "id" || message.author.id == "id") {
For authorize 2 members to do a command
But I want authorize a role
I try message.author.roles.id == "id_role" but don't work
message.author.roles.cache.some(role => role.id === 'id')
I have a unexpected token '{'
look att your syntax