Commit b9a96da
committed
feat: validate DISCORD_WEBHOOK_URL configuration before sending embeds
- Added a check to ensure DISCORD_WEBHOOK_URL is configured before attempting to send an embed.
- Throws an error if the webhook URL is not set, improving error handling and user feedback.1 parent 0a10c19 commit b9a96da
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
0 commit comments