aboutsummaryrefslogtreecommitdiff
path: root/src/internal/timer.rs
Commit message (Collapse)AuthorAgeFilesLines
* Refactor imports/exports to use nested groups and better formattingacdenisSK2018-03-291-2/+4
|
* Change the way ids and some enums are made (#295)Leah2018-03-231-1/+1
| | | | | This makes them easier to be found by tools like rls. Also update struct inits to use the shorthand version for `x: x`.
* Re-order use statements alphabeticallyZeyla Hellyer2017-11-111-1/+1
|
* Add Debug derives to more public typesthelearnerofcode2017-11-071-0/+1
|
* Fix clippy lintsZeyla Hellyer2017-10-111-2/+2
|
* rustfmtacdenisSK2017-07-271-3/+1
|
* Update dependenciesZeyla Hellyer2017-06-211-6/+6
|
* Use chrono for struct timestamp fieldsZeyla Hellyer2017-06-061-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chrono is easier to use than timestamped strings, so they should be automatically deserialized and available for the user, instead of having the user deserialize the strings themselves. These fields have been changed to use a type of `DateTime<FixedOffset>`: - `ChannelPinsUpdateEvent.last_pin_timestamp` - `Group.last_pin_timestamp` - `Guild.joined_at` - `GuildChannel.last_pin_timestamp` - `Invite.created_at` - `Member.joined_at` - `Message.edited_timestamp - `Message.timestamp` - `MessageUpdateEvent.edited_timestamp` - `MessageUpdateEvent.timestamp` - `PrivateChannel.last_pin_timestamp` `Member.joined_at` is now also an `Option`. Previously, if a Guild Member Update was received for a member not in the cache, a new Member would be instantiated with a default String value. This is incorrect behaviour, and has now been replaced with being set to `None` in that case. Id methods' `created_at()` method now return a `chrono::NaiveDateTime` instead of a `time::Timespec`, and `User::created_at` has been updated to reflect that. Additionally, drop `time` as a direct dependency and use chrono for internals.
* Add voice connection supportAustin Hellyer2016-11-141-0/+45