Skip to content

Todo: Handle potential NREs #33

@FloatingMilkshake

Description

@FloatingMilkshake

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)

Metadata

Metadata

Labels

blockedcode-styleRelated to code style. Does not affect functionality.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions