Woffer12
Explore posts from serversBABetter Auth
•Created by Woffer12 on 3/31/2025 in #help
Best way to run code after user logs in/out
Looking for the best way to run code after a user logs in/out of the app.
I need all the users info from the DB obj, the same info that would be returned with authClient.useSession() on a page
8 replies
DIAdiscord.js - Imagine an app
•Created by Woffer12 on 1/21/2024 in #djs-questions
Cannot read properties of null when editing a automod rule
Description
When attempting to update an automod rule i get an error from discord.js that it can not read properties of null when reading 'autoModerationRules'.
Package
[email protected]
Node v20.7.0
Code
Both guild
and automodRule
exist and return valid objects
Error
The above leads to the following method, with the cursor after the .
after the guild
Any help would be appreciate, i am not sure what is causing this issue, thanks in advance.40 replies