fix readme

This commit is contained in:
Pantae 2024-09-29 21:24:31 +07:00
parent b1e55ed27a
commit 20ae8e4030
No known key found for this signature in database
GPG key ID: 8BEA5157901AA3DB

View file

@ -17,6 +17,8 @@ Et voilà !
```rust
let mut client = DiscordClient::new("<application_id>");
let _ = client.connect();
let limg = Some(String::from("https://placehold.co/600x400/png"));
let simg = Some(String::from("https://placehold.co/200x100/png"));
let asset = Asset::new(limg, None, simg, None);