Merge pull request #8 from pantae35872/misleading-examples
This commit is contained in:
commit
28357908af
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