Search
Get Started
d-I❄
discord.js - Imagine ❄
•
2y ago
Violet
line break
Im trying to break line in my embed description with an external string
( not used directly into the code
)
discord.js - Imagine ❄
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
58,353
Members
View on Discord
Was this page helpful?
Yes
No
D
d.js toolkit
•
7/6/24, 8:33 PM
What
's your exact discord
.js
npm list discord.js
npm list discord.js
and node
node -v
node -v
version
?
Not a discord
.js issue
? Check out
#other
-js
-ts
.
Consider reading
#how
-to
-get
-help to improve your question
!
Explain what exactly your issue is
.
Post the full error stack trace
, not just the top part
!
Show your code
!
Issue solved
? Press the button
!
V
Violet
OP
•
7/6/24, 8:34 PM
So
, im using google spread sheet for the string that im using in my embed
V
Violet
OP
•
7/6/24, 8:35 PM
and when i use this text i get the exact text instead of breaking the line
idk if its the
\n syntax
, or if its the same with others
V
Violet
OP
•
7/6/24, 8:36 PM
here is the result
Original message was deleted
V
Violet
OP
•
7/6/24, 8:47 PM
well yeah
idk why is it happening
i mean if i write the exact string in my embed directly without getting it from the spreadsheet
, it works fine as intended
, but for some reason thats not the same when i get my text from sheet
V
Violet
OP
•
7/6/24, 8:47 PM
idk if i should convert the text somehow to be compatible
Original message was deleted
V
Violet
OP
•
7/6/24, 8:49 PM
Using google sheet api
V
Violet
OP
•
7/6/24, 8:49 PM
V
Violet
OP
•
7/6/24, 8:53 PM
V
Violet
OP
•
7/6/24, 8:53 PM
Its showing the exact data shown in the sheet
V
Violet
So , im using google spread sheet for the string that im using in my embed
V
Violet
OP
•
7/6/24, 8:55 PM
this is the image of the sheet cell
there is literal
\n
V
Violet
OP
•
7/6/24, 8:56 PM
hmm let me see
V
Violet
OP
•
7/6/24, 8:58 PM
god that worked
, thank you so much