Skip to content

Commit

Permalink
Fix value of 'browser' in identify
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Hellyer committed Feb 3, 2017
1 parent 97f9bd1 commit 4cf8338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/gateway/prep.rs
Expand Up @@ -61,7 +61,7 @@ pub fn identify(token: &str, shard_info: Option<[u64; 2]>) -> Value {
object = identify_compression(object)
.insert("large_threshold", LARGE_THRESHOLD) // max value
.insert_object("properties", |object| object
.insert("$browser", "Ergonomic and high-level Rust library")
.insert("$browser", "serenity")
.insert("$device", "serenity")
.insert("$os", env::consts::OS))
.insert("token", token)
Expand Down

0 comments on commit 4cf8338

Please sign in to comment.