king
DIAdiscord.js - Imagine an app
•Created by king on 9/8/2024 in #djs-questions
Strange role tagging @everyone
oh i forgot it, thank u guys
39 replies
DIAdiscord.js - Imagine an app
•Created by king on 9/8/2024 in #djs-questions
Strange role tagging @everyone
huge thanks my bro it worked
39 replies
DIAdiscord.js - Imagine an app
•Created by king on 9/8/2024 in #djs-questions
Strange role tagging @everyone
i tried to do
roles: user_roles.map((role) => roleMention(role[1])).join(", ") ?? "No Roles",
but even if the array is undef. the map function try to map and throw this error39 replies
DIAdiscord.js - Imagine an app
•Created by king on 9/8/2024 in #djs-questions
Strange role tagging @everyone
but it gets me this error
CombinedPropertyError (1)
Received one or more errors
input[5]
| CombinedPropertyError (1)
| Received one or more errors
|
| input.value
| | ExpectedConstraintError > s.string().lengthGreaterThanOrEqual()
| | Invalid string length
| |
| | Expected: expected.length >= 1
| |
| | Received:
| | | ""
39 replies
DIAdiscord.js - Imagine an app
•Created by king on 9/8/2024 in #djs-questions
Strange role tagging @everyone
I'll try to show
39 replies
DIAdiscord.js - Imagine an app
•Created by king on 9/8/2024 in #djs-questions
Strange role tagging @everyone
i forgot to say but i was removing the everyone tag if the user gets more than one role
39 replies
DIAdiscord.js - Imagine an app
•Created by king on 9/8/2024 in #djs-questions
Strange role tagging @everyone
ik ik but when the user doesn't have any roles the app get an error
39 replies
DIAdiscord.js - Imagine an app
•Created by king on 9/8/2024 in #djs-questions
Strange role tagging @everyone
I'm saving the rawPosition to maintain the order
like this
[
[ 66, '1281414021022617713' ],
[ 59, '900537322410487840' ],
[ 50, '900538879747194901' ],
[ 43, '900575020437356616' ],
[ 42, '900538523663368233' ],
[ 0, '898689266903834664' ]
]
39 replies
DIAdiscord.js - Imagine an app
•Created by king on 9/8/2024 in #djs-questions
Strange role tagging @everyone
39 replies
DIAdiscord.js - Imagine an app
•Created by king on 9/8/2024 in #djs-questions
Strange role tagging @everyone
roles: user_roles.map((role) => roleMention(role[1])).join(", "),
still get the @@39 replies
DIAdiscord.js - Imagine an app
•Created by king on 9/8/2024 in #djs-questions
Strange role tagging @everyone
that means it only works for this guild?
39 replies
DIAdiscord.js - Imagine an app
•Created by king on 9/8/2024 in #djs-questions
Strange role tagging @everyone
oh i see
39 replies
DIAdiscord.js - Imagine an app
•Created by king on 9/8/2024 in #djs-questions
Strange role tagging @everyone
└── [email protected]
node: v20.12.2
39 replies