| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Don't reconnect on WS error within some time | Austin Hellyer | 2017-01-15 | 1 | -0/+7 |
| | | | | | Wait until at least one heartbeat has been sent before doing so. | ||||
| * | Reconnect on any websocket error | Austin Hellyer | 2017-01-15 | 1 | -2/+0 |
| | | |||||
| * | Add shard latency tracking | Austin Hellyer | 2017-01-14 | 2 | -7/+38 |
| | | |||||
| * | Clarify that messages can't be older than 2 weeks. | Illia | 2017-01-14 | 1 | -0/+2 |
| | | |||||
| * | Fix a payload decode | Austin Hellyer | 2017-01-09 | 1 | -6/+1 |
| | | | | | Resume doesn't have a heartbeat_interval, so don't try to decode it. | ||||
| * | Add more shard logging | Austin Hellyer | 2017-01-08 | 1 | -6/+32 |
| | | |||||
| * | Slightly modify close resume logic | Austin Hellyer | 2017-01-08 | 1 | -1/+4 |
| | | |||||
| * | Wait 5s between shard boots | Austin Hellyer | 2017-01-07 | 1 | -0/+3 |
| | | |||||
| * | Fix shard boot index | Austin Hellyer | 2017-01-07 | 1 | -4/+4 |
| | | |||||
| * | Make Client.shards private | Austin Hellyer | 2017-01-05 | 1 | -1/+1 |
| | | |||||
| * | Fix rs suffix | Illia | 2017-01-05 | 2 | -2/+2 |
| | | |||||
| * | Simplify a small bit of Context | Austin Hellyer | 2017-01-04 | 1 | -21/+14 |
| | | |||||
| * | Simplify Context::get_reaction_users | Austin Hellyer | 2017-01-04 | 1 | -5/+1 |
| | | |||||
| * | Fix Context::get_reaction_users docs | Austin Hellyer | 2017-01-04 | 1 | -6/+0 |
| | | |||||
| * | Add Context::get_user | Austin Hellyer | 2017-01-04 | 1 | -0/+22 |
| | | |||||
| * | Return a User from rest::get_user | Austin Hellyer | 2017-01-04 | 1 | -2/+2 |
| | | |||||
| * | 4011 is not handable | Laura | 2017-01-04 | 1 | -1/+2 |
| | | |||||
| * | Remove user logout endpoint | Austin Hellyer | 2017-01-01 | 2 | -26/+0 |
| | | |||||
| * | Implement context message queueing | Taavi | 2017-01-01 | 1 | -1/+38 |
| | | | | Also the dreaded `ctx <<= "something"` which is actually a mistake. | ||||
| * | Convert heartbeat debug to a trace | Austin Hellyer | 2016-12-31 | 1 | -1/+1 |
| | | |||||
| * | Fix typo | Illia | 2016-12-31 | 3 | -5/+5 |
| | | |||||
| * | Remove use of struct pattern match | Austin Hellyer | 2016-12-29 | 1 | -1/+1 |
| | | |||||
| * | Slightly simplify Shard::set_presence | Austin Hellyer | 2016-12-29 | 1 | -5/+4 |
| | | |||||
| * | "Fix" clippy lints | Austin Hellyer | 2016-12-29 | 1 | -0/+1 |
| | | |||||
| * | Add guild and channel search | Austin Hellyer | 2016-12-29 | 4 | -2/+155 |
| | | |||||
| * | Rework some event handles | Austin Hellyer | 2016-12-29 | 1 | -3/+24 |
| | | |||||
| * | Heartbeat recv: send null d value | Austin Hellyer | 2016-12-29 | 1 | -1/+1 |
| | | |||||
| * | A bit more logging | Austin Hellyer | 2016-12-29 | 1 | -0/+4 |
| | | |||||
| * | Round 1 | Austin Hellyer | 2016-12-29 | 5 | -61/+123 |
| | | |||||
| * | Use conditional blocks over macros | Austin Hellyer | 2016-12-29 | 4 | -34/+54 |
| | | |||||
| * | Update current user presence in cache on set | Austin Hellyer | 2016-12-28 | 1 | -1/+20 |
| | | | | | | | | | Update the presence of the current user in the cache - if enabled - when the current user updates their presence through a Shard. Additionally, instead of sending an idle "since" of 0, use the current time. | ||||
| * | Accept u64 shard counts | Austin Hellyer | 2016-12-26 | 3 | -9/+12 |
| | | |||||
| * | Add `on_message` example | indiv0 | 2016-12-21 | 1 | -0/+16 |
| | | |||||
| * | Fix current application decoding | Austin Hellyer | 2016-12-18 | 1 | -4/+13 |
| | | | | | | | | | | The endpoint for retrieving the current application does not return a `flags`, so don't try to decode it. Additionally, rename `get_application_info` to `get_current_application_info` and create a new `get_application_info` for getting the current user's applications by Id. | ||||
| * | Remove cache feature dependency for framework | Austin Hellyer | 2016-12-16 | 1 | -0/+12 |
| | | |||||
| * | Make 'voice' feature not require 'cache' | Austin Hellyer | 2016-12-16 | 1 | -1/+1 |
| | | | | | | | | | The voice module required the cache feature in order to access the current user's Id. Instead, just copy the Id into the VoiceManager and distribute it from there -- the memory impact will be very minimal in comparison to the benefits of not needing to constantly unlock the Cache and not needing the user to be forced to use the Cache. | ||||
| * | Simplify gateway identify compression | Austin Hellyer | 2016-12-16 | 1 | -7/+2 |
| | | |||||
| * | Don't mutate token for bots on profile change | zeyla | 2016-12-13 | 1 | -2/+4 |
| | | |||||
| * | Implement command groups and buckets | Illia | 2016-12-13 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement command groups * change to ref mut * Implement framework API. * Remove commands field * Make it all work * Make example use command groups * Requested changes * Implement adding buckets * Add ratelimit check function * Finish everything * Fix voice example * Actually fix it * Fix doc tests * Switch to result * Savage examples * Fix docs * Fixes * Accidental push * 👀 * Fix an example * fix some example * Small cleanup * Abstract ratelimit bucket logic | ||||
| * | Cleanup gateway prep | Austin Hellyer | 2016-12-12 | 1 | -4/+1 |
| | | |||||
| * | More config for CreateCommand, add various methods | Illia | 2016-12-10 | 6 | -38/+47 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds multiple configurations to the command builder, and adds methods to various structs. Context::get_current_user is a shortcut to retrieve the current user from the cache. Message::get_member retrieves the member object of the message, if sent in a guild. Message::is_private checks if the message was sent in a Group or PrivateChannel. User::member retrieves the user's member object in a guild by Id; Adds 6 configurations to the command builder: - dm_only: whether the command can only be used in direct messages; - guild_only: whether the command can only be used in guilds; - help_available: whether the command should be displayed in the help list; - max_args: specify the maximum number of arguments a command must be given; - min_args: specify the minimum number of arguments a command must be given; - required_permissions: the permissions a member must have to be able to use the command; | ||||
| * | Fix no-cache+method conditional compiles | Austin Hellyer | 2016-12-10 | 2 | -2/+2 |
| | | | | | Additionally, flag imports behind feature flags to avoid unused imports. | ||||
| * | Fix some clippy lints | Austin Hellyer | 2016-12-09 | 1 | -1/+1 |
| | | |||||
| * | Change all try's into ?s | acdenisSK | 2016-12-07 | 6 | -152/+152 |
| | | | | This breaks compatibility with < 1.13, but we didn't support that anyway. | ||||
| * | Add a ShareMap across contexts | Austin Hellyer | 2016-12-05 | 3 | -42/+100 |
| | | | | | | | | | The context now exposes, through the Client, a `data` field, which can be accessed safely across contexts. This allows for a custom "shared state" without the need for (ab)using lazy-static.rs. Refer to example 06 for an example on how to use shared data. | ||||
| * | Add more Context docs+permission requirements | Austin Hellyer | 2016-12-04 | 1 | -26/+170 |
| | | | | | | Add more documentation to most of the Context methods, also clarifying which permission/s are required for each method. | ||||
| * | Add documentation for models | Illia | 2016-12-04 | 1 | -0/+5 |
| | | |||||
| * | Use proper comments on inline ratelimit comments | Austin Hellyer | 2016-12-04 | 1 | -2/+2 |
| | | |||||
| * | Fix signature of Context::move_member | Austin Hellyer | 2016-12-03 | 1 | -2/+2 |
| | | |||||
| * | Fix Shard::set_presence example | Austin Hellyer | 2016-12-03 | 1 | -1/+1 |
| | | |||||