| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Use `#[serde(default)]` on `nsfw` instead | acdenisSK | 2017-08-15 | 1 | -3/+1 |
| | | |||||
| * | Deprecate `GuildId::as_channel_id` and add simulation methods for the ↵ | acdenisSK | 2017-08-04 | 2 | -1/+43 |
| | | | | | | | "default channel" concept Also fix a little mistake | ||||
| * | Make some functions accept anything that's implemented Display | acdenisSK | 2017-08-04 | 1 | -1/+1 |
| | | |||||
| * | Change to c-like enums and transmute | acdenisSK | 2017-08-02 | 1 | -164/+55 |
| | | |||||
| * | Use ranges instead of guards | acdenisSK | 2017-08-01 | 1 | -9/+7 |
| | | |||||
| * | Clippy and rustfmt | acdenisSK | 2017-08-01 | 2 | -8/+10 |
| | | |||||
| * | Provide the input and limit back to the user, and do some consistencies | acdenisSK | 2017-08-01 | 2 | -3/+8 |
| | | |||||
| * | Remove the `ext` module and remove a match | acdenisSK | 2017-08-01 | 1 | -6/+2 |
| | | | | | | The `ext` has existed for a long while just for backwards compatibility. But then again, majority of people should have migrated to the current modules already; making this module useless to keep in the library. | ||||
| * | Reuse `num` | acdenisSK | 2017-07-31 | 1 | -8/+8 |
| | | |||||
| * | Improve `Action` | acdenisSK | 2017-07-31 | 1 | -100/+200 |
| | | |||||
| * | Change the config a bit, and a few nitpicks | acdenisSK | 2017-07-27 | 20 | -598/+508 |
| | | |||||
| * | rustfmt | acdenisSK | 2017-07-27 | 28 | -1451/+1347 |
| | | |||||
| * | Fix is_own code | Zeyla Hellyer | 2017-07-25 | 1 | -1/+1 |
| | | | | | | The current user ID is located on the `user` structfield in the cache, and is not directly on the cache. | ||||
| * | Actually, rename it to "is_own" instead | acdenisSK | 2017-07-26 | 1 | -1/+1 |
| | | |||||
| * | Add a util function for checking if a message was sent by the bot or someone ↵ | acdenisSK | 2017-07-26 | 1 | -0/+6 |
| | | | | | else | ||||
| * | Fix #130 | acdenisSK | 2017-07-22 | 1 | -1/+2 |
| | | | | | Removed action support from the builtin one as well, due to it adding some uneccassery complexity and it being only asked upon by one user | ||||
| * | match -> and_then | acdenisSK | 2017-07-21 | 1 | -4/+1 |
| | | |||||
| * | Fix the tests (#129) | Bond-009 | 2017-07-21 | 1 | -1/+1 |
| | | |||||
| * | Utilise the newly stabilised loop-with-break-value | acdenisSK | 2017-07-20 | 1 | -13/+7 |
| | | |||||
| * | Add an actual way to fetch audit log entries from a guild | acdenisSK | 2017-07-20 | 4 | -0/+248 |
| | | |||||
| * | Implement the new way of knowing some channels as "nsfw" | acdenisSK | 2017-07-18 | 1 | -1/+14 |
| | | |||||
| * | Fix GuildChannel::permissions_for doctests | Zeyla Hellyer | 2017-07-15 | 1 | -5/+5 |
| | | |||||
| * | Fix more doc tests | acdenisSK | 2017-07-14 | 2 | -2/+2 |
| | | |||||
| * | Fix the doc on `PrivateChannel::name` | acdenisSK | 2017-07-14 | 1 | -1/+1 |
| | | |||||
| * | Add `ChannelId,PrivateChannel,GuildChannel::name` functions | acdenisSK | 2017-07-14 | 3 | -0/+33 |
| | | |||||
| * | Improve `BanOptions` to be more efficient and remove uneccessary `Read` imports | acdenisSK | 2017-07-13 | 6 | -19/+9 |
| | | |||||
| * | Remove the deprecated functions | acdenisSK | 2017-07-11 | 13 | -740/+0 |
| | | | | | It's already been enough time for people to migrate | ||||
| * | Rename `online_members` to `members_with_status` and compare the status ↵ | acdenisSK | 2017-07-10 | 1 | -3/+3 |
| | | | | | provided to the function instead | ||||
| * | Return an error if the reason the user provided exceeded the limit | acdenisSK | 2017-07-10 | 2 | -2/+14 |
| | | |||||
| * | Use a trait way of overloading the `ban` function instead of an enum | acdenisSK | 2017-07-10 | 2 | -52/+37 |
| | | | | | Possibly removes some overhead introduced by enums but makes the underlaying code of the function easier to read and is more concise | ||||
| * | Fixed clippy warnings (#120) | Kaidan | 2017-07-10 | 1 | -3/+3 |
| | | |||||
| * | Make `User` and `Ban` comparable and hashable | acdenisSK | 2017-07-10 | 2 | -2/+2 |
| | | |||||
| * | Add a way to return all online members in a guild | acdenisSK | 2017-07-09 | 1 | -0/+18 |
| | | |||||
| * | Remove the note from the comment on `reason` | acdenisSK | 2017-07-08 | 1 | -3/+0 |
| | | | | | Audit log works and does give a reason, so this note is just false info | ||||
| * | Implement attaching reasons to bans | acdenisSK | 2017-07-08 | 2 | -7/+67 |
| | | |||||
| * | Fix doc tests | acdenisSK | 2017-07-02 | 5 | -143/+175 |
| | | |||||
| * | Fixed clippy warnings (#118) | Kaidan | 2017-06-28 | 1 | -1/+1 |
| | | |||||
| * | Docs fixes | mei | 2017-06-27 | 10 | -32/+20 |
| | | |||||
| * | Add missing ModelError variant in description impl | Zeyla Hellyer | 2017-06-27 | 1 | -0/+1 |
| | | |||||
| * | Prevent Direct Messaging other bot users | Zeyla Hellyer | 2017-06-26 | 2 | -0/+19 |
| | | | | | | | The API no longer allows bot users to Direct Message other bot users, so pre-emptively check that the recipient is not a bot. If it is, return a `ModelError::MessagingBot`. | ||||
| * | Fix ModelError doctest | Zeyla Hellyer | 2017-06-25 | 1 | -0/+3 |
| | | |||||
| * | Fix no-feature tests | Zeyla Hellyer | 2017-06-24 | 2 | -1/+14 |
| | | |||||
| * | Make Message::nonce a serde_json::Value | Zeyla Hellyer | 2017-06-23 | 3 | -81/+3 |
| | | | | | | | | | | | | | | | | | | | Nonces can actually be almost anything - including booleans - so just use a Value to represent it since very few users will need it. This fixes errors like: ``` WARN:serenity::internal::ws_impl: (╯°□°)╯︵ ┻━┻ Error decoding: {"t":"MESSAGE_CREATE","s":12187872,"op":0,"d":{"type":0,"tts":false,"timestamp":"2017-06-01T01:00:00.000000+00:00","pinned":false,"nonce":"","mentions":[{"username":"redacted","id":"redacted","discriminator":"redacted","avatar":"redacted"}],"mention_roles":[],"mention_everyone":false,"id":"redacted","embeds":[],"edited_timestamp":null,"content":"redacted","channel_id":"redacted","author":{"username":"redacted","id":"redacted","discriminator":"redacted","bot":true,"avatar":"redacted"},"attachments":[]}} ERROR:serenity::client: Shard handler received err: Json(ErrorImpl { code: Message("Unknown i64 value: "), line: 0, column: 0 }) ``` and: ``` WARN:serenity::internal::ws_impl: (╯°□°)╯︵ ┻━┻ Error decoding: {"t":"MESSAGE_CREATE","s":1001192,"op":0,"d":{"type":0,"tts":false,"timestamp":"2017-06-01T01:01:01.000000+00:00","pinned":false,"nonce":true,"mentions":[],"mention_roles":[],"mention_everyone":false,"id":"redacted","embeds":[],"edited_timestamp":null,"content":"bork","channel_id":"redacted","author":{"username":"redacted","id":"redacted","discriminator":"redacted","bot":true,"avatar":"redacted"},"attachments":[]}} ERROR:serenity::client: Shard handler received err: Json(ErrorImpl { code: Message("invalid type: boolean `true`, expected identifier"), line: 0, column: 0 }) ``` | ||||
| * | Update dependencies | Zeyla Hellyer | 2017-06-21 | 1 | -28/+28 |
| | | |||||
| * | Add 'wait' parameter to http::execute_webhook | Zeyla Hellyer | 2017-06-20 | 1 | -4/+5 |
| | | | | | | | The 'wait' parameter allows you to specify waiting for the Message to be sent prior to receiving a response, which will have Discord include the JSON representation of the Message in the body. | ||||
| * | Fix broken docs links on Permissions struct | Zeyla Hellyer | 2017-06-17 | 1 | -5/+5 |
| | | |||||
| * | Deprecate a couple Channel methods | Zeyla Hellyer | 2017-06-17 | 1 | -0/+2 |
| | | | | | | | | Deprecate `Channel::delete_messages` and `Channel::delete_permission`. These methods aren't available on all of the variants' types, so they shouldn't be on the Channel either. | ||||
| * | Fix broken link from ModelError | Zeyla Hellyer | 2017-06-14 | 1 | -0/+1 |
| | | |||||
| * | Make EmbedFooter icon URLs optional | Zeyla Hellyer | 2017-06-14 | 1 | -2/+2 |
| | | |||||
| * | Add `Member::permissions` | alex | 2017-06-14 | 1 | -0/+27 |
| | | |||||