fix readme
This commit is contained in:
parent
b1e55ed27a
commit
20ae8e4030
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue