This repository has been archived on 2024-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
discord-dart/README.md

19 lines
410 B
Markdown
Raw Normal View History

2023-07-24 18:20:51 +02:00
# discord.dart
2023-07-31 13:24:04 +02:00
![https://img.shields.io/pub/v/tn_discord?color=red&logo=dart](https://github.com/ThunderNetworkRaD/discord.dart)
2023-07-24 18:20:51 +02:00
This package is work in progress.
2023-07-24 16:04:12 +02:00
2023-07-24 18:20:51 +02:00
## Webhooks
2023-07-31 13:24:04 +02:00
### Initializations
2023-07-24 16:04:12 +02:00
```dart
2023-07-24 18:20:51 +02:00
import 'package:tn_discord/tn_discord.dart';
main() {
2023-07-31 13:24:04 +02:00
const webhook = WebookClient(/*Webhook Options*/);
2023-07-24 18:20:51 +02:00
}
2023-07-24 16:04:12 +02:00
```
2023-07-24 18:20:51 +02:00
### Webhook Options
- url: String
- id: String
- token: String
url overrides id and token