| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rename `Guild::permissions_for`->`permissions_in` | Zeyla Hellyer | 2017-10-30 | 4 | -7/+18 |
| | | | | | | | Rename `Guild::permissions_for` to `Guild::permissions_in`, deprecating `Guild::permissions_for` which is only an inline method to `permissions_in`. | ||||
| * | Guild::has_perms: use Guild::member_permissions | Zeyla Hellyer | 2017-10-30 | 1 | -22/+14 |
| | | | | | | | Make `Guild`'s internal method `has_perms` go through `Guild::member_permissions` to check permissions, since all method that use it don't need channel-specific permissions. | ||||
| * | Add Guild::member_permissions | Zeyla Hellyer | 2017-10-30 | 1 | -0/+51 |
| | | | | | | | Add a method on the Guild for calculating only a member's guild-only permissions, not including the permissions for either the default channel or any specific channel. | ||||
| * | Add some docs to `BanOptions` | acdenisSK | 2017-10-30 | 1 | -0/+1 |
| | | |||||
| * | Fall back to `str::parse` if `parse_username` fails | acdenisSK | 2017-10-24 | 1 | -3/+4 |
| | | |||||
| * | Fix User::has_role | Zeyla Hellyer | 2017-10-24 | 1 | -1/+5 |
| | | | | | | | | | | Fix the return value of the function by properly checking whether the user has the role in the given guild. The function made the erraneous mistake of simply checking if the given guild had the role by Id, not whether the _member in the given guild_ had the role by Id. | ||||
| * | Properly update emojis, fix shard retries, fix cs | Lakelezz | 2017-10-23 | 1 | -1/+3 |
| | | | | | | | | * If a guild's emojis are being altered, Serenity will straight up use the new `HashMap` instead of just extending. If `connect()` returns an `Err`, it will retry connecting. Cleaned up `help_command.rs`. | ||||
| * | Deprecate some text-only Channel methods | Zeyla Hellyer | 2017-10-19 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | Some methods on `model::Channel` are only for text channels. Methods on Channel should be applicable to all channel types. Deprecates the following methods on `model::Channel`: - `create_reaction` - `delete_message` - `delete_reaction` - `edit_message` - `message` - `messages` - `reaction_users` - `say` - `send_files` - `send_message` - `unpin` | ||||
| * | Implement changing a role's position (#201) | Ken Swenson | 2017-10-19 | 2 | -0/+41 |
| | | |||||
| * | Use the underlaying integer value of a `ChannelType` variant | acdenisSK | 2017-10-17 | 1 | -1/+1 |
| | | |||||
| * | defer to `delete_message` if there's just one message to delete | acdenisSK | 2017-10-16 | 2 | -4/+8 |
| | | |||||
| * | Hash and do equality on just the id for `User` | acdenisSK | 2017-10-15 | 1 | -1/+17 |
| | | |||||
| * | Add try_opt macro for substitute | Mei Boudreau | 2017-10-12 | 1 | -4/+1 |
| | | |||||
| * | Optimize Member::roles | Mei Boudreau | 2017-10-12 | 1 | -21/+11 |
| | | |||||
| * | Fix clippy lints | Zeyla Hellyer | 2017-10-11 | 4 | -48/+48 |
| | | |||||
| * | Variety of methods to search for `Member`. (#187) | Lakelezz | 2017-10-10 | 1 | -12/+218 |
| | | |||||
| * | Generate `Default` for CurrentUser and use it in `Cache::default` | acdenisSK | 2017-10-08 | 2 | -2/+2 |
| | | |||||
| * | Add an impl for `&str` | acdenisSK | 2017-10-08 | 1 | -0/+4 |
| | | |||||
| * | Find `Member` via substrings, allow case-insensitivity on ↵ | Lakelezz | 2017-10-07 | 1 | -4/+54 |
| | | | | | `members_containing` and `members_starting_with` (#184) | ||||
| * | Help-commands filtering and Member-prefix-search (#182) | Lakelezz | 2017-10-07 | 1 | -0/+18 |
| | | |||||
| * | Fix a typo | acdenisSK | 2017-10-05 | 1 | -1/+1 |
| | | |||||
| * | Add an and | acdenisSK | 2017-10-05 | 1 | -1/+1 |
| | | |||||
| * | Use an as_ref hack | acdenisSK | 2017-10-05 | 3 | -3/+10 |
| | | |||||
| * | Replace slice parametres by IntoIterator (#177) | François Triquet | 2017-10-05 | 4 | -4/+4 |
| | | | | Fixes #174 | ||||
| * | Fix most clippy warnings | Maiddog | 2017-10-04 | 2 | -2/+2 |
| | | |||||
| * | Replace Vec parameters by IntoIterator (#176) | François Triquet | 2017-10-04 | 5 | -5/+5 |
| | | |||||
| * | Revert "Use the de-generification trick." | acdenisSK | 2017-10-03 | 9 | -190/+55 |
| | | | | | Makes the compiliation time just a bit worse | ||||
| * | Use the de-generification trick. | acdenisSK | 2017-10-02 | 9 | -55/+190 |
| | | | | | Fixes #168 | ||||
| * | `to_owned` -> `to_string` | acdenisSK | 2017-10-01 | 11 | -29/+29 |
| | | |||||
| * | Fix User::tag and CurrentUser::tag discrim output | Zeyla Hellyer | 2017-09-28 | 1 | -1/+1 |
| | | | | | | The output in a tag may result in "username#304" instead of the correct "username#0304". | ||||
| * | Use `request_client!` for attachment downloading (#165) | Benjamin Cheng | 2017-09-26 | 1 | -1/+1 |
| | | |||||
| * | Refactor display impls for ids | acdenisSK | 2017-09-24 | 6 | -24/+7 |
| | | |||||
| * | Update bitflags, other dependencies | Zeyla Hellyer | 2017-09-21 | 9 | -78/+87 |
| | | | | | | | | | | | | | | | | | | | | | | | | Bitflags changed its macro codegen from creating constants to associated constants on structs. Upgrade path: Update code from: ```rust use serenity::model::permissions::{ADD_REACTIONS, MANAGE_MESSAGES}; foo(vec![ADD_REACTIONS, MANAGE_MESSAGES]); ``` to: ```rust use serenity::model::Permissions; foo(vec![Permissions::ADD_REACTIONS, Permissions::MANAGE_MESSAGES]); ``` | ||||
| * | Apply rustfmt | Zeyla Hellyer | 2017-09-18 | 23 | -375/+244 |
| | | |||||
| * | Fix compiles of a variety of feature combinations | Zeyla Hellyer | 2017-09-18 | 17 | -74/+92 |
| | | | | | | This fixes compilation errors and warnings when compiling a mixture of non-default feature targets. | ||||
| * | Apply rustfmt | Zeyla Hellyer | 2017-09-18 | 1 | -1/+3 |
| | | |||||
| * | Gate ChannelCategory impl behind 'model' feature | Zeyla Hellyer | 2017-09-18 | 1 | -0/+1 |
| | | | | | | The rest of the models in the model module have their implementations gated behind the "model" feature, so do the same here. | ||||
| * | if let -> and_then/map | acdenisSK | 2017-09-17 | 1 | -5/+1 |
| | | |||||
| * | Apply rustfmt | Zeyla Hellyer | 2017-09-14 | 1 | -11/+11 |
| | | |||||
| * | Revamp `CacheEventsImpl` | acdenisSK | 2017-09-12 | 1 | -0/+611 |
| | | |||||
| * | serde rename `kind` to `type` | acdenisSK | 2017-09-09 | 1 | -0/+1 |
| | | |||||
| * | Apply rustfmt + fix tests | Zeyla Hellyer | 2017-09-09 | 6 | -11/+31 |
| | | |||||
| * | `parent_id` -> `category_id` | acdenisSK | 2017-09-09 | 2 | -4/+6 |
| | | |||||
| * | Implement categories | acdenisSK | 2017-09-09 | 6 | -2/+154 |
| | | |||||
| * | Update `Guild::ban` to use `BanOptions` | acdenisSK | 2017-09-06 | 2 | -9/+11 |
| | | | | | Also update `Member::permissions` to the default channel change | ||||
| * | match to map/? | acdenisSK | 2017-09-04 | 1 | -4/+1 |
| | | |||||
| * | Fix the PRESET_GENERAL permission constant | Zeyla Hellyer | 2017-09-03 | 1 | -1/+1 |
| | | | | | | These bits were completely wrong and even gave the Administrator permission. | ||||
| * | Remove more non-bot user endpoints | Zeyla Hellyer | 2017-09-01 | 3 | -50/+0 |
| | | | | | | | | | | | | | These include the following functions removed: - `http::get_application_info` - `http::get_applications` - `http::get_emoji` - `http::get_emojis` - `model::Guild::{emoji, emojis}` - `model::GuildId::{emoji, emojis}` - `model::PartialGuild::{emoji, emojis}` | ||||
| * | Make role references attainable via name | Lakelezz | 2017-08-29 | 2 | -0/+69 |
| | | |||||
| * | Prevent malformed opus data from crashing the bot process (#149) | Maiddog | 2017-08-27 | 2 | -54/+60 |
| | | |||||