| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | A bunch of typo fixes (#404) | Perry Fraser | 2018-10-01 | 1 | -4/+4 |
| | | |||||
| * | Compile without `cache`-feature (#393) | Bond-009 | 2018-09-19 | 1 | -0/+5 |
| | | |||||
| * | Check if a group is empty and exclude them if that's the case. (#389) | Lakelezz | 2018-09-14 | 1 | -5/+9 |
| | | |||||
| * | Add `Usage Sample`-field back to help. (#388) | Lakelezz | 2018-09-14 | 1 | -2/+14 |
| | | |||||
| * | Add tests for help (#387) | Lakelezz | 2018-09-11 | 1 | -0/+81 |
| | | | | | | | * Add tests for `levenshtein_distance`-function. * Add tests for `Matrix`-struct. | ||||
| * | Add missing usage on plain help (#386) | Lakelezz | 2018-09-11 | 1 | -1/+5 |
| | | |||||
| * | Add single group help (#385) | Lakelezz | 2018-09-11 | 1 | -14/+55 |
| | | |||||
| * | Fix to build with Rust 1.25.0. | Lakelezz | 2018-09-10 | 1 | -1/+1 |
| | | |||||
| * | Fix group-prefix ambiguity in help (#384) | Lakelezz | 2018-09-10 | 1 | -11/+25 |
| | | |||||
| * | Suggest similar commands when using help (#377) | Lakelezz | 2018-09-09 | 1 | -17/+120 |
| | | |||||
| * | Refactor Help (#375) | Lakelezz | 2018-08-31 | 1 | -411/+482 |
| | | |||||
| * | Make `is_command_visible` work with DMs. (#369) | Maiddog | 2018-08-17 | 1 | -0/+6 |
| | | |||||
| * | Reduce minimal Rust version to 1.25 | Zeyla Hellyer | 2018-07-29 | 1 | -2/+2 |
| | | |||||
| * | Do not suggest command if no command is actually related to input. (#350) | Lakelezz | 2018-07-20 | 1 | -1/+1 |
| | | |||||
| * | Fix some clippy lints | Zeyla Hellyer | 2018-07-15 | 1 | -20/+20 |
| | | | | | | Some lints were not resolved due to causing API changes. Most lints in the framework were left unfixed. | ||||
| * | Support multiple prefixes for command-groups (#343) | Lakelezz | 2018-07-15 | 1 | -9/+9 |
| | | |||||
| * | If no help is available, command is not visible thus return false. | Lakelezz | 2018-06-18 | 1 | -3/+1 |
| | | |||||
| * | Rename from `is_command_hidden` to `is_command_visible`. | Lakelezz | 2018-06-18 | 1 | -5/+5 |
| | | |||||
| * | Check if a command would be visible, if yes provide help for it. | Lakelezz | 2018-06-18 | 1 | -7/+47 |
| | | |||||
| * | help: differentiate whether a command is unavailable in dms or guilds (#319) | Lakelezz | 2018-05-25 | 1 | -8/+19 |
| | | |||||
| * | Refactor imports/exports to use nested groups and better formatting | acdenisSK | 2018-03-29 | 1 | -8/+20 |
| | | |||||
| * | Add no_run to doctests that initialize a Client (#293) | Maiddog | 2018-03-18 | 1 | -2/+2 |
| | | |||||
| * | Remove useless clones (#292) | Maiddog | 2018-03-17 | 1 | -7/+7 |
| | | |||||
| * | Fix no-cache standardframework compilation (#290) | Lakelezz | 2018-03-15 | 1 | -0/+4 |
| | | |||||
| * | Add missing `correct roles`-checks in help-commands (#249) | Lakelezz | 2018-01-10 | 1 | -3/+57 |
| | | |||||
| * | Fix help-commands' `plain` | Lakelezz | 2018-01-06 | 1 | -4/+37 |
| | | |||||
| * | Fix most clippy lints, take more refeernces | Zeyla Hellyer | 2017-12-16 | 1 | -15/+18 |
| | | | | | | Fix clippy lints and subsequently accept references for more function parameters. | ||||
| * | Break up the model module | Zeyla Hellyer | 2017-12-16 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `model` module has historically been one giant module re-exporting all of the model types, which is somewhere around 100 types. This can be a lot to look at for a new user and somewhat overwhelming, especially with a large number of fine-grained imports from the module. The module is now neatly split up into submodules, mostly like it has been internally since the early versions of the library. The submodules are: - application - channel - error - event - gateway - guild - id - invite - misc - permissions - prelude - user - voice - webhook Each submodule contains types that are "owned" by the module. For example, the `guild` submodule contains, but not limited to, Emoji, AuditLogsEntry, Role, and Member. `channel` contains, but not limited to, Attachment, Embed, Message, and Reaction. Upgrade path: Instead of glob importing the models via `use serenity::model::*;`, instead glob import via the prelude: ```rust use serenity::model::prelude::*; ``` Instead of importing from the root model module: ```rust use serenity::model::{Guild, Message, OnlineStatus, Role, User}; ``` instead import from the submodules like so: ```rust use serenity::model::channel::Message; use serenity::model::guild::{Guild, Role}; use serenity::model::user::{OnlineStatus, User}; ``` | ||||
| * | Make help-commands customisable (#227) | Lakelezz | 2017-11-30 | 1 | -43/+82 |
| | | |||||
| * | Fix doc-tests | acdenisSK | 2017-11-16 | 1 | -2/+2 |
| | | |||||
| * | Change most of the framework to use trait-based-commands | acdenisSK | 2017-11-15 | 1 | -9/+14 |
| | | |||||
| * | Re-order use statements alphabetically | Zeyla Hellyer | 2017-11-11 | 1 | -3/+3 |
| | | |||||
| * | Fix Help-Commands to list all eligible commands in DMs. (#212) | Lakelezz | 2017-11-04 | 1 | -1/+1 |
| | | |||||
| * | Make the Client return a Result | Zeyla Hellyer | 2017-11-03 | 1 | -2/+2 |
| | | | | | | | | | The client now returns a Result in preparation of a future commit. Upgrade path: Handle the case of an error via pattern matching, or unwrap the Result. | ||||
| * | Merge v0.4.2 | acdenisSK | 2017-10-24 | 1 | -19/+14 |
| |\ | |||||
| | * | Properly update emojis, fix shard retries, fix cs | Lakelezz | 2017-10-23 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | * 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`. | ||||
| | * | Fix clippy warnings | Mei Boudreau | 2017-10-19 | 1 | -17/+14 |
| | | | |||||
| * | | Change CreateEmbed::field{,s} to not take builders | Zeyla Hellyer | 2017-10-18 | 1 | -14/+13 |
| | | | | | | | | | | | | | | | | | | | Change the `field` and `fields` methods on `builder::CreateEmbed` to not accept a `CreateEmbedField` builder. The embed field builder realistically only had (and most likely, only will) have one optional argument, so the parameters may as well be on `CreateEmbed::field`. | ||||
| * | | Update to account for changes made in 0.4.1 | acdenisSK | 2017-10-14 | 1 | -63/+80 |
| |\| | |||||
| | * | Help-features display `Aliases` and list information for `Aliases`. (#190) | Lakelezz | 2017-10-12 | 1 | -60/+80 |
| | | | |||||
| | * | Fix clippy lints | Zeyla Hellyer | 2017-10-11 | 1 | -5/+6 |
| | | | |||||
| | * | Make `has_correct_permissions`, `has_correct_roles` and ↵ | Lakelezz | 2017-10-10 | 1 | -1/+1 |
| | | | | | | | | | `has_all_requirements` public. (#188) | ||||
| | * | Help-commands filtering and Member-prefix-search (#182) | Lakelezz | 2017-10-07 | 1 | -10/+10 |
| | | | |||||
| | * | Fix most clippy warnings | Maiddog | 2017-10-04 | 1 | -10/+10 |
| | | | |||||
| | * | `to_owned` -> `to_string` | acdenisSK | 2017-10-01 | 1 | -2/+2 |
| | | | |||||
| * | | Switch to parking_lot::{Mutex, RwLock} | Zeyla Hellyer | 2017-10-10 | 1 | -5/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to the `parking_lot` crate's implementations of `std::sync::Mutex` and `std::sync::RwLock`, which are more efficient. A writeup on why `parking_lot` is more efficient can be read here: <https://github.com/Amanieu/parking_lot> Upgrade path: Modify `mutex.lock().unwrap()` usage to `mutex.lock()` (not needing to unwrap or handle a result), and `rwlock.read().unwrap()`/`rwlock.write().unwrap()` usage to `rwlock.read()` and `rwlock.write()`. For example, modify: ```rust use serenity::CACHE; println!("{}", CACHE.read().unwrap().user.id); ``` to: ```rust use serenity::CACHE; println!("{}", CACHE.read().user.id); ``` | ||||
| * | | Help-commands filtering and Member-prefix-search (#182) | Lakelezz | 2017-10-09 | 1 | -10/+10 |
| | | | |||||
| * | | Fix most clippy warnings | Maiddog | 2017-10-09 | 1 | -10/+10 |
| | | | |||||
| * | | `to_owned` -> `to_string` | acdenisSK | 2017-10-09 | 1 | -2/+2 |
| |/ | |||||
| * | Revamp errors in `Args` and commands | acdenisSK | 2017-09-23 | 1 | -3/+3 |
| | | |||||