PAdventures
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by PAdventures on 1/7/2024 in #djs-questions
AutoModerationRuleUpdate -> OldRule is null on rule actions update
the old rule is null when I update the rule's actions (timeout, alert message). Is this normal behaviour? Yes, i am aware that the old rule can be null
3 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 12/27/2023 in #djs-questions
Event Emitter emits custom event twice
console
my code doesn't look exactly like this by similar
4 replies
DTDrizzle Team
•Created by PAdventures on 12/19/2023 in #help
Dizzle Kit: Push altering unchanged column
I will push this to planetscale. I run the push again without doing anything and this happens:
15 replies
DTDrizzle Team
•Created by PAdventures on 12/10/2023 in #help
ExecutedQuery data question
what do these attributes mean when it comes to planetscale? it's quite confusing
I assume
time
is how long the query took
rowsAffected
is that row read/row returned
?
rows
I assume are the rows that were returned
fields
is assume are the table fields
statment
i assume is the raw SQL statement
the others I have no clue2 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 12/6/2023 in #djs-questions
ActionRowBuilder type error with EditReply
error
The package manager i use
reciple
has the same discord.js version as mine8 replies
DTDrizzle Team
•Created by PAdventures on 11/28/2023 in #help
Migration Confirmation/Help with PlanetScale
I know I can test this myself but I want to reduce the connections to my PlanetScale database.
So, I have my main branch which has a password to it, and a development branch off of the main branch with it's own password. If I use the dev url in the migration config file and main url for the drizzle connection will this cause any issues.
Here is what I have done:
1 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 10/23/2023 in #djs-questions
@discordjs/opus not installing for macOS
Ive literally tried everything
8 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 9/23/2023 in #djs-questions
Buttons will not re-enable
I have a pagination system that should disable and enable buttons depending on what page the user is on. The buttons will always stay on their default
disabled
state and won't change whenever I editReply the message
Collector
buttonRow()
button example: prevPage()
4 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 9/4/2023 in #djs-questions
Message Collector Filter not working
The filter is not working for some reason
Logs
what i type in the channel
delete cbz5yhifqx
collector
collector doesnt do anything11 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 7/19/2023 in #djs-questions
Custom Emoji formatting issue
I am trying to use custom emojis from a server I own for my bot. The bot is in this server and has admin perms in a different server plus there are no custom emoji restrictions in the channel where the bot is trying to use the emojis.
I have tried many methods to use the emojis.
For example:
Plus
And
Each just ends up in the bot sending the emoji name wrapped around colons.
I have triple-checked that the emoji names are correct as well as their ids.
Any idea on how to solve this?
10 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 7/6/2023 in #djs-questions
Fetching Guild Commands returns nothing
I am using the ApplicationCommandPermissionsUpdate event. I am trying to fetch the command using the
guild.commands.fetch()
method. This always returns empty and i'm not sure why.
Here is my some code for the ApplicationCommandPermissionsUpdate file:
Output for the logged collection, array and error
Please note that there are application commands in the server12 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 5/23/2023 in #djs-questions
How to detect if a string is a snowflake and check what type of snowflake it is?
I've been doing this but i want to know if there is an easier way
10 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 5/8/2023 in #djs-questions
Channel Update Event
Is there any way, to find out which user moved a channel from one category to another?
9 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 4/22/2023 in #djs-questions
Autocomplete Question
I don't understand what autocomplete does and I can't seem to find any information on this that goes in-depth. What does autocomplete actually do?
5 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 4/13/2023 in #djs-questions
Audit Log Channel Update Event
With the code below, when I update a channel's parent,
auditLog
is undefined. Why?
2 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 4/12/2023 in #djs-questions
Client Question
Why does the following sometimes work when the client / code starts / runs and other times doesn't?
client.application.commands.cache.size
Normally returns 28
Other times returns 04 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 4/10/2023 in #djs-questions
Mention Spam Protection Activation / Deactivation Detection
Can you get the user who deleted / edited an auto mod rule?
19 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 4/8/2023 in #djs-questions
Auto Mod Create Event not working
here is the event code. the output is nothing
7 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 4/8/2023 in #djs-questions
How to I turn Permission numbers into a string / array?
defaultMemberPermissions
returns with a number. How do i make this a string, such as administrator
?7 replies
DIAdiscord.js - Imagine an app
•Created by PAdventures on 4/7/2023 in #djs-questions
Application Command Permission Update Event
I am trying to get the type of permission in the data of the event.
Example:
data.permissions.type
This is returning as undefined
when I update a app command's user/roles/channel permissions
If you are confused, look at the type / ApplicationCommandPermissionType
in the link below
https://old.discordjs.dev/#/docs/discord.js/main/typedef/ApplicationCommandPermissions10 replies