Violet
Violet
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Violet on 7/6/2024 in #djs-questions
line break
god that worked , thank you so much 😄
14 replies
DIAdiscord.js - Imagine an app
Created by Violet on 7/6/2024 in #djs-questions
line break
hmm let me see
14 replies
DIAdiscord.js - Imagine an app
Created by Violet on 7/6/2024 in #djs-questions
line break
this is the image of the sheet cell there is literal \n
14 replies
DIAdiscord.js - Imagine an app
Created by Violet on 7/6/2024 in #djs-questions
line break
Its showing the exact data shown in the sheet
14 replies
DIAdiscord.js - Imagine an app
Created by Violet on 7/6/2024 in #djs-questions
line break
No description
14 replies
DIAdiscord.js - Imagine an app
Created by Violet on 7/6/2024 in #djs-questions
line break
No description
14 replies
DIAdiscord.js - Imagine an app
Created by Violet on 7/6/2024 in #djs-questions
line break
No description
14 replies
DIAdiscord.js - Imagine an app
Created by Violet on 7/6/2024 in #djs-questions
line break
idk if i should convert the text somehow to be compatible
14 replies
DIAdiscord.js - Imagine an app
Created by Violet on 7/6/2024 in #djs-questions
line break
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
14 replies
DIAdiscord.js - Imagine an app
Created by Violet on 7/6/2024 in #djs-questions
line break
No description
14 replies
DIAdiscord.js - Imagine an app
Created by Violet on 7/6/2024 in #djs-questions
line break
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
14 replies
DIAdiscord.js - Imagine an app
Created by Violet on 7/6/2024 in #djs-questions
line break
No description
14 replies
DIAdiscord.js - Imagine an app
Created by Violet on 3/10/2024 in #djs-questions
Fetching message in a thread
and when i use that constant message it works well
16 replies
DIAdiscord.js - Imagine an app
Created by Violet on 3/10/2024 in #djs-questions
Fetching message in a thread
const messages = await thread.messages.fetch({
limit: 1,
after: 0,
})
const message = messages.first()
const messages = await thread.messages.fetch({
limit: 1,
after: 0,
})
const message = messages.first()
16 replies
DIAdiscord.js - Imagine an app
Created by Violet on 3/10/2024 in #djs-questions
Fetching message in a thread
after fetching the message i need to use this to get the first message fetched ( i also added the 20 second delay )
16 replies
DIAdiscord.js - Imagine an app
Created by Violet on 3/10/2024 in #djs-questions
Fetching message in a thread
ok found the issue i guess
16 replies
DIAdiscord.js - Imagine an app
Created by Violet on 3/10/2024 in #djs-questions
Fetching message in a thread
its the whole code since my event emitts , till i get to the part where i log it after the log is my if statement
16 replies
DIAdiscord.js - Imagine an app
Created by Violet on 3/10/2024 in #djs-questions
Fetching message in a thread
let me share my code before i log the message .
async execute(thread) {
if (thread.parent.id === '1139062893573328966') {
const channel = thread.guild.channels.cache.get(
'1014042418074624071',
)
const Ch_Log = thread.guild.channels.cache.get(
'1202976505542615140',
)

const length = ['First Strike', 'Second Strike', 'Third Strike']



//IDK WHAT THE FUCK IS THIS PART
const messages2 = await thread.messages.fetch()
const messages1 = await thread.messages.fetch({
limit: 1,
after: thread.id,
})
//IDK WHAT THE FUCK IS THIS PART

const message = await thread.messages.fetch({
limit: 1,
after: 0,
})
console.log(message)
}
}
async execute(thread) {
if (thread.parent.id === '1139062893573328966') {
const channel = thread.guild.channels.cache.get(
'1014042418074624071',
)
const Ch_Log = thread.guild.channels.cache.get(
'1202976505542615140',
)

const length = ['First Strike', 'Second Strike', 'Third Strike']



//IDK WHAT THE FUCK IS THIS PART
const messages2 = await thread.messages.fetch()
const messages1 = await thread.messages.fetch({
limit: 1,
after: thread.id,
})
//IDK WHAT THE FUCK IS THIS PART

const message = await thread.messages.fetch({
limit: 1,
after: 0,
})
console.log(message)
}
}
16 replies
DIAdiscord.js - Imagine an app
Created by Violet on 3/10/2024 in #djs-questions
Fetching message in a thread
imma try with 20 second delay with two attachments
16 replies
DIAdiscord.js - Imagine an app
Created by Violet on 3/10/2024 in #djs-questions
Fetching message in a thread
nah there is no such code
16 replies