Sans
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by Sans on 5/17/2024 in #djs-questions
sticky message sometimes isn't sticky
I'll try that ig
7 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 5/17/2024 in #djs-questions
sticky message sometimes isn't sticky
nope
7 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 5/17/2024 in #djs-questions
sticky message sometimes isn't sticky
I did...
7 replies
DIAdiscord.js - Imagine an app
•Created by sex money feelings on 3/25/2024 in #djs-questions
How do i encrypt my token?
thanks
51 replies
DIAdiscord.js - Imagine an app
•Created by sex money feelings on 3/25/2024 in #djs-questions
How do i encrypt my token?
- it's a message context command because i hate putting code in 1 line with a slash command and it seemed easier than using a modal, just type ur code and right click
it's global for now, thanks for pointing that out
- i did not do default values properly, thanks for pointing that out as well
- im not sure what do you mean by "unsanitized" or "sandboxed", and about that fail-safe, it shouldnt ever fail if I'm the only one who can use the command in the first place right?
- I have one just in case I need to change or fix stuff in my db because of my dumb inability to learn how to properly use one ;-;
51 replies
DIAdiscord.js - Imagine an app
•Created by sex money feelings on 3/25/2024 in #djs-questions
How do i encrypt my token?
I am curious if I missed anything with it so I'd really like feedback, even if it's unrelated to this thread (sorry :p)
https://github.com/Sans3108/TypeScript-Discord-Bot/blob/master/src/app/commands/eval.ts
51 replies
DIAdiscord.js - Imagine an app
•Created by sex money feelings on 3/25/2024 in #djs-questions
How do i encrypt my token?
I simply made my eval command dev only (and im the only dev) and also every command use is logged + any results that are not specifically evaled to send a message are returned in an ephemeral message
51 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 2/7/2024 in #djs-questions
Automatically Change Bot Icon On Server Icon Change
thanks
42 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 2/7/2024 in #djs-questions
Automatically Change Bot Icon On Server Icon Change
bet
42 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 2/7/2024 in #djs-questions
Automatically Change Bot Icon On Server Icon Change
well, Promise<unknown>
42 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 2/7/2024 in #djs-questions
Automatically Change Bot Icon On Server Icon Change
the type of that is unknown
42 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 2/7/2024 in #djs-questions
Automatically Change Bot Icon On Server Icon Change
alright, but still how do i know if it failed or not?
42 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 2/7/2024 in #djs-questions
Automatically Change Bot Icon On Server Icon Change
type is unknown oof, how exactly do i know if it failed or not?
42 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 2/7/2024 in #djs-questions
Automatically Change Bot Icon On Server Icon Change
42 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 2/7/2024 in #djs-questions
Automatically Change Bot Icon On Server Icon Change
how exactly?
42 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 2/7/2024 in #djs-questions
Automatically Change Bot Icon On Server Icon Change
alright
42 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 2/7/2024 in #djs-questions
Automatically Change Bot Icon On Server Icon Change
I see
42 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 2/7/2024 in #djs-questions
Automatically Change Bot Icon On Server Icon Change
oh and while I'm on this, does the client.destroy method kill every session for that bot token or just 1?
42 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 2/7/2024 in #djs-questions
Automatically Change Bot Icon On Server Icon Change
why does it need the Guilds intent?
42 replies
DIAdiscord.js - Imagine an app
•Created by Sans on 2/7/2024 in #djs-questions
Automatically Change Bot Icon On Server Icon Change
as for intents, the second client is not really going to need to do anything aside from logging in, changing it's own icon and then destroying itself
42 replies