Forhand.
Forhand.
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
okay I’ll try this tomorrow then I’ll come back here
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
so u r saying that I can get the target that got moved from the logs?
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
with an accurate way
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
that's my point
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
yes
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
it won't be accurate
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
no I said that cuz I can't make sure that the user got moved or not through logs if u only can get the executor and the channel from the logs
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
you can get just the executor from the logs without the target
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
but the thing is to detect if the user was moved or he joined the channel by himself
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
yes I did it here
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
but still won't be accurate right?
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
so I'm asking if anyone can help me with another way to detect if he moved to channel or not?
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
but this way isn't good actually
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
but I did in my code
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
yes I forgot to type the new date here
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
another way instead of LogMove.createdTimestamp < 3000
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
so how to check if the user moved or he joined the channel by himself?
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
it's actually not always, it'll be true when the admin moved user to channel he didn't in last 10 mins
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 11/1/2023 in #djs-questions
Move Log
because I'm using LogMove.createdTimestamp < 3000 to check if the user was moved or he joined the channel by himself, is there another way to check that?
30 replies
DIAdiscord.js - Imagine a bot
Created by Forhand. on 10/10/2023 in #djs-questions
Canvas fillText
const applyText = (canvas, text) => {
const context = canvas.getContext('2d');
let fontSize = 100;
do {
context.font = `${fontSize -= 1}px sans-serif`;
} while (context.measureText(text).width > canvas.width - 140);
return context.font;
};
const applyText = (canvas, text) => {
const context = canvas.getContext('2d');
let fontSize = 100;
do {
context.font = `${fontSize -= 1}px sans-serif`;
} while (context.measureText(text).width > canvas.width - 140);
return context.font;
};
4 replies