Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Todo: Handle potential NREs #33

Open
FloatingMilkshake opened this issue Dec 19, 2024 · 0 comments
Open

Todo: Handle potential NREs #33

FloatingMilkshake opened this issue Dec 19, 2024 · 0 comments
Assignees

Comments

@FloatingMilkshake
Copy link
Owner

There are many potential NREs that I brush off because they aren't important, but they might cause issues later. They should be handled instead of being ignored. Be on the lookout for the null-forgiving operator (!) too; oftentimes I will use it and then not check for null properly and an NRE will be thrown there.

(Also: yes DiscordClient.CurrentApplication.Owners can be null, happens when the bot is owned by a team)

@FloatingMilkshake FloatingMilkshake self-assigned this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant