Auth
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/20/2024 in #djs-questions
which perms do i need
i have this event
but its not firing when i remove someones timeout
40 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/19/2024 in #djs-questions
slash command getting messed up
so yeah same issue again the previous slash command aint getting deleted
heres deploy-commands.js
12 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/19/2024 in #djs-questions
which permisson i need
i have this event handler but it requires intent but it only works when i give it admin i generally cant give it admin but which perm i need to give exactly
https://pastebin.com/vcp0cjY4
i am talking about automodactionexectution
what happens is when it dont have admin it runs another event of updatemember https://pastebin.com/mGZT8HxX
which shows me as timeout moderator but when i give it server insight perms it shows itself as timeout mod lmao idk what am i suppose to do
10 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/19/2024 in #djs-questions
unable to delete slash commands
like i originally had a different code now i am using that same bot for another code but previous slash commands aint getting deleted im running this script but new commands got registerd so now its all a mess https://pastebin.com/QJt1Q2zR
7 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/19/2024 in #djs-questions
slash command not getting registerd
index.js - https://pastebin.com/v0UAU7g1
sample slash command - https://pastebin.com/U32EXgVN
file structure -
.
├── commands
│ ├── helper
│ │ ├── handleDirectMessage.js
│ │ ├── handleMemberUpdate.js
│ │ ├── intervalTimeoutRemove.js
│ │ ├── leetcode.js
│ │ └── run-migrations.js
│ └── utility
│ ├── approve.js
│ ├── ping.js
│ └── server.js
├── config.json
├── db.js
├── index.js
├── migrations
│ └── 0000_create_users_table.js
├── models
│ └── User.js
├── mydatabase.sqlite
├── package.json
├── package-lock.json
└── payload
└── leetcode.txt
23 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/18/2024 in #djs-questions
How can i detect someone timeout got removed?
i wanna delete the user from the db whos timeout gets removed, till i know only 2 possiblity exists of timeout getting removed
- timeout period got over
- someone manually removed it
10 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/18/2024 in #djs-questions
AutoModerationActionExecution event
WHY IT AINT DETECTING AUTOMOD ACTIONS?
17 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/15/2024 in #djs-questions
how to get this typa button
11 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/15/2024 in #djs-questions
"Unkown command" when using context command
14 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/15/2024 in #djs-questions
lil doubt
like i wanna make a slash command when i use that slash command while replying to some guy, the message i am replying to should get deleted
27 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/10/2024 in #djs-questions
missing permissions error code 50035,
11 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/10/2024 in #djs-questions
Invalid bitfield flag or number: undefined.
WHAT DOES THIS EVEN MEANS
42 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/10/2024 in #djs-questions
can send normal message but cant send embded message
this code works
23 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/9/2024 in #djs-questions
unable to send message in channel
13 replies
DIAdiscord.js - Imagine a bot
•Created by Auth on 9/9/2024 in #djs-questions
others unable to see slash commands
well i want so when someone execute a slash commands other can also see it but in this case only i am able to see it
31 replies