progamersischu
DIAdiscord.js - Imagine a bot
•Created by GalaXd on 10/13/2023 in #djs-questions
Attachment
Just out of curiosity. Is it illegal to save the deleted pictures(when someone deletes something illegal) on a data server(private server hosted somewhere in a data center)?
17 replies
DIAdiscord.js - Imagine a bot
•Created by GalaXd on 10/13/2023 in #djs-questions
Attachment
I am not sure if this is true but the message.attachments property should have an Buffer inside it, maybe this is still there when you use the message on messagedelete event
17 replies
DIAdiscord.js - Imagine a bot
•Created by PadowYT2 on 9/19/2023 in #djs-questions
Discoverable servers support
DJS doesn't has something like this implemented. I think you refer to the video of ntts?
11 replies
DIAdiscord.js - Imagine a bot
•Created by Saint on 9/18/2023 in #djs-questions
Storing Giveaway information
You could use keyv
12 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 9/18/2023 in #djs-questions
Log if user got disconnected and from who?
Found the error. But like I do it, it isn't possible that way. I thought that every action is logged seperatly in the audit log but it just counts to 1,2,3,4,.. till like a certain time passed
14 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 9/18/2023 in #djs-questions
Log if user got disconnected and from who?
I will do that thx
14 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 9/18/2023 in #djs-questions
Log if user got disconnected and from who?
Yeah. But still...doesn't make sense. I mean. I get a value for newstate and newstate.guild but after 5 seconds it tells me that its undefined
14 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 9/18/2023 in #djs-questions
Log if user got disconnected and from who?
Because otherwise my main file is going to be super big
14 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 9/18/2023 in #djs-questions
Log if user got disconnected and from who?
Want to do it in different files.
14 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 9/18/2023 in #djs-questions
Log if user got disconnected and from who?
14 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 9/18/2023 in #djs-questions
Log if user got disconnected and from who?
client.on("voiceStateUpdate",async (oldstate,newstate) => {
await betterlogs.handler({type: "voicestateupdate", oldstate: oldstate, newstate: newstate})
....
14 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 9/18/2023 in #djs-questions
Log if user got disconnected and from who?
Because somehow I get undefined sometimes with newstate.channel or smth else when it's defined when I log it. A bit bugged I guess
14 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 9/18/2023 in #djs-questions
Log if user got disconnected and from who?
14 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 9/18/2023 in #djs-questions
Log if user got disconnected and from who?
And the guild obj:
14 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 9/18/2023 in #djs-questions
Log if user got disconnected and from who?
14 replies
DIAdiscord.js - Imagine a bot
•Created by whos there on 9/12/2023 in #djs-questions
Don't DM a user with disabled DMs?
When u have the send Method as a Promise then u just simply .catch() the Error when u can't send someone a DM
6 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 8/6/2023 in #djs-questions
Get every User in a Voice Channel with REST/CORE
That explains a lot. I thought the cache works like that on restart it gets cleared. But if it uses the other events to retrieve data for the VoiceState then it makes more sense to me
13 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 8/6/2023 in #djs-questions
Get every User in a Voice Channel with REST/CORE
I only use core to use discords data to use it from my bot on another appliaction/website etc.
13 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 8/6/2023 in #djs-questions
Get every User in a Voice Channel with REST/CORE
Thx
13 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 8/6/2023 in #djs-questions
Get every User in a Voice Channel with REST/CORE
Then I am confused why I can retrieve users from the different channels. Even if the bot was restarted and the cache cleared.
13 replies