| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add handling for integration auditlog entryHEADmaster | Adelyn Breedlove | 2019-12-09 | 1 | -1/+9 |
| | | |||||
| * | Patch auditlog deserialize to allow unknown fields | Adelyn Breedlove | 2019-12-09 | 1 | -6/+19 |
| | | |||||
| * | Add new auditlog type enums | Adelyn Breedlove | 2019-12-09 | 1 | -10/+65 |
| | | |||||
| * | Merge branch 'upstream' | Mishio595 | 2018-11-13 | 13 | -32/+62 |
| |\ | |||||
| | * | Make `Region`s `Japan`-variant lowercase.upstream | Lakelezz | 2018-11-13 | 1 | -1/+1 |
| | | | |||||
| | * | Add Nick Methods for `Message` and `UserId` (#432) | Lakelezz | 2018-11-11 | 2 | -0/+32 |
| | | | |||||
| | * | Add Function to neutralise Mentions (#414) | Lakelezz | 2018-10-30 | 2 | -4/+19 |
| | | | |||||
| | * | Fix NSFW Checks (#418) | Lakelezz | 2018-10-20 | 5 | -22/+5 |
| | | | |||||
| | * | A bunch of typo fixes (#404) | Perry Fraser | 2018-10-01 | 3 | -4/+4 |
| | | | |||||
| | * | Generalise mention parsing | acdenisSK | 2018-09-22 | 1 | -1/+1 |
| | | | | | | | | | Fixes #396 | ||||
| * | | Finish rebase | Mishio595 | 2018-09-16 | 1 | -6/+0 |
| | | | |||||
| * | | Add `impl AsRef<MessageId> for Message` | Mishio595 | 2018-09-16 | 1 | -0/+6 |
| | | | |||||
| * | | Old message is optionally passed with message_update event | Mishio595 | 2018-09-16 | 1 | -25/+32 |
| |/ | |||||
| * | Remove cache requirement on Message::is_private | Zeyla Hellyer | 2018-09-14 | 1 | -5/+1 |
| | | | | | | This can instead check the `guild_id` structfield, so the cache is no longer required. | ||||
| * | Message: avoid perm checks in non-guild channels | Zeyla Hellyer | 2018-09-14 | 1 | -12/+20 |
| | | |||||
| * | Revert "Old message on update (#368)" | Zeyla Hellyer | 2018-09-13 | 1 | -32/+25 |
| | | | | | This reverts commit 27ccf2c9c8ce785b54595eaabcebf86db07bf5bc. | ||||
| * | Add Member::user_id | Zeyla Hellyer | 2018-09-05 | 1 | -0/+14 |
| | | | | | | Adds a `user_id` method to `Member`, which is a shortcut for retrieving the member's user ID. | ||||
| * | Old message on update (#368) | Adelyn | 2018-08-26 | 1 | -25/+32 |
| | | |||||
| * | Properly link to User in Game docs | Zeyla Hellyer | 2018-08-24 | 1 | -0/+2 |
| | | |||||
| * | Add support for session start info in BotGateway | Zeyla Hellyer | 2018-08-24 | 1 | -0/+16 |
| | | | | | | Add support for the new information describing the current session start ratelimits given in the GET /gateway/bot endpoint. | ||||
| * | Fix GuildChannel::_permissions_for on no-cache | Zeyla Hellyer | 2018-08-15 | 1 | -1/+2 |
| | | | | | | Fix the compilation of `GuildChannel::_permissions_for` when the `cache` feature is disabled. | ||||
| * | Use `to_`- and `as_`-methods instead of `get` and `find` on Id newtypes | Lakelezz | 2018-08-12 | 13 | -48/+169 |
| | | |||||
| * | Fix all the dead links in the docs | Erk- | 2018-08-09 | 25 | -440/+441 |
| | | |||||
| * | Decringe an old comment | acdenisSK | 2018-08-08 | 1 | -2/+1 |
| | | |||||
| * | Fix compilation + tests on certain feature combos | Zeyla Hellyer | 2018-08-07 | 2 | -68/+104 |
| | | | | | | | | | On certain feature combinations, compilation and tests would not function correctly. This commit goes through a number of feature combinations and gates some tests behind the required features and fixes other compilation errors. | ||||
| * | Fix some documentation spacing | Zeyla Hellyer | 2018-08-07 | 1 | -17/+11 |
| | | |||||
| * | Fixes all of the dead links in permissions. (#359) | Erk- | 2018-08-07 | 1 | -75/+75 |
| | | |||||
| * | Added support for the new PRIORITY_SPEAKER permission (#360) | Erk- | 2018-08-07 | 1 | -0/+8 |
| | | |||||
| * | Fix Game From impls on no-model compilation | Zeyla Hellyer | 2018-08-05 | 1 | -2/+10 |
| | | |||||
| * | Add From impls for Game, generify Game params | Zeyla Hellyer | 2018-08-01 | 2 | -1/+52 |
| | | | | | | Add more `impl From<T> for Game` implementations, and make `Into<Game>` trait bounds for all function parameters accepting a Game. | ||||
| * | Move unit tests into source | Zeyla Hellyer | 2018-08-01 | 4 | -0/+345 |
| | | | | | | | | | | Move the unit tests into the relevant source files. There's no need for them to be seprate, especially when the `tests` directory is meant to be for integration tests. The deserialization tests that include JSON files are still in the `tests` dir, along with the public prelude re-export tests. | ||||
| * | Make GuildId::member use the cache when possible (#356) | Maiddog | 2018-07-31 | 1 | -1/+11 |
| | | |||||
| * | Add note about cache in UserId::get docs | Zeyla Hellyer | 2018-07-29 | 1 | -2/+3 |
| | | |||||
| * | Add `impl AsRef<MessageId> for Message` (#355) | Adelyn | 2018-07-25 | 1 | -0/+6 |
| | | |||||
| * | Fix `ChannelId::send_message`'s dead links | acdenisSK | 2018-07-25 | 1 | -3/+3 |
| | | |||||
| * | Fix some clippy lints | Zeyla Hellyer | 2018-07-15 | 8 | -55/+54 |
| | | | | | | Some lints were not resolved due to causing API changes. Most lints in the framework were left unfixed. | ||||
| * | typos | Zeyla Hellyer | 2018-07-14 | 1 | -2/+2 |
| | | |||||
| * | Abstract impls in Channel's Mentionable impl | Zeyla Hellyer | 2018-07-14 | 1 | -4/+4 |
| | | | | | | Abstract the implementations for each of Channel's variants' `Mentionable` implementations by using the underlying impl. | ||||
| * | Implement Mentionable for Group | Zeyla Hellyer | 2018-07-14 | 1 | -0/+6 |
| | | |||||
| * | Implement Mentionable for PrivateChannel | Zeyla Hellyer | 2018-07-14 | 1 | -0/+6 |
| | | |||||
| * | Implement Mentionable for ChannelCategory | Zeyla Hellyer | 2018-07-14 | 1 | -1/+7 |
| | | |||||
| * | Fix doc links with no anchor | Zeyla Hellyer | 2018-07-11 | 2 | -0/+7 |
| | | |||||
| * | impl Mentionable for GuildChannel (#348) | Adelyn | 2018-07-10 | 1 | -0/+4 |
| | | |||||
| * | Deprecate Message::guild_id() | Zeyla Hellyer | 2018-07-09 | 1 | -14/+11 |
| | | | | | | Instead, using the structfield is preferred, since that comes from gateway events directly now anyway. | ||||
| * | Add a message cache API (#345) | zeyla | 2018-07-09 | 1 | -0/+81 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds an API for message caching. By default this caches 0 messages per channel. This can be customized when instantiating: ```rust use serenity::cache::{Cache, Settings}; let mut settings = Settings::new(); // Cache 10 messages per channel. settings.max_messages(10); let cache = Cache::new_with_settings(settings); ``` After instantiation: ```rust use serenity::cache::Cache; let mut cache = Cache::new(); cache.settings_mut().max_messages(10); ``` And during runtime through the global cache: ```rust use serenity::CACHE; CACHE.write().settings_mut().max_messages(10); ``` | ||||
| * | impl Form<&$ID> for $ID | Zeyla Hellyer | 2018-07-08 | 1 | -0/+6 |
| | | | | | Implements `From<&Id>` for all `Id` types, e.g. `From<&RoleId> for RoleId`. | ||||
| * | Monomorphize all functions | Zeyla Hellyer | 2018-07-04 | 11 | -56/+279 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit monomorphizes all functions, turning functions like: ```rust fn foo<T: Into<Bar>>(baz: T) { baz = baz.into(); // function here } ``` Into functions like: ```rust fn foo<T: Into<Bar>>(baz: T) { _foo(baz.into()) } fn _foo(baz: Bar) { // function here } ``` This avoids binary bloat and improves build times, by reducing the amount of code duplication. | ||||
| * | Fix dead doc-links and add missing ones. (#347) | Lakelezz | 2018-07-04 | 1 | -33/+40 |
| | | |||||
| * | Make guild optional on Invites | Zeyla Hellyer | 2018-06-27 | 1 | -8/+20 |
| | | | | | | | | | Make the `guild` structfield on `Invite` and `RichInvite` optional. This was done due to a change in the [docs]. [docs]: https://github.com/discordapp/discord-api-docs/commit/bc0a15bd11db72644633080903171fbc3e71b026 | ||||
| * | feature: add guild_id to Message, per g250k changes | Christopher F | 2018-06-17 | 1 | -0/+5 |
| | | | | | | | this allows stateless bots to drop the need for a channel->guild mapping (cherry picked from commit 74bb8fa5a3b4b5fd43559866b4627bf09484f6ae) | ||||