docs: Include notice of strictNullChecks being required (#4267)

And also update deno example to use v21
This commit is contained in:
Fleny
2025-07-28 08:21:51 +02:00
committed by GitHub
parent 0ab543d02e
commit ca9f4fec10
3 changed files with 9 additions and 3 deletions
+4
View File
@@ -21,6 +21,10 @@ If you need more specific packages, you can install them directly for example:
npm install @discordeno/types # Using npm
```
### Typescript
If you are using Typescript you do need to enable `strictNullChecks` in your TSConfig, or else it may cause issues especially with [Desired Properties](#understanding-desired-properties-in-discordeno)
## Understanding Bot Helpers
Whenever you want to do something on discord, you will need to talk to the discord api. To make this easy, we provide "helpers". For example, to send a message to a channel, you can call the `bot.helpers.sendMessage` method with the 2 required parameters: