| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Fix dead doc-links and add missing ones. (#347) | Lakelezz | 2018-07-04 | 1 | -33/+40 | |
| | | ||||||
| * | Add http::ratelimiting::offset | Zeyla Hellyer | 2018-07-04 | 1 | -13/+23 | |
| | | | | | | Add a function to access a copy of the ratelimiting module's internal `OFFSET` static binding. | |||||
| * | properly fix the is_nsfw check this time | acdenisSK | 2018-07-02 | 1 | -1/+1 | |
| | | ||||||
| * | Simplify utils::is_nsfw | Zeyla Hellyer | 2018-07-02 | 1 | -9/+1 | |
| | | ||||||
| * | Fix 'nsfw-' case in utils::is_nsfw | Zeyla Hellyer | 2018-07-02 | 1 | -1/+1 | |
| | | | | | | | In the utils::is_nsfw function, an input of 'nsfw-' shouldn't return true. Discord's (previous) NSFW detection classified 'nsfw' and anything starting with 'nsfw-' - but not including - as NSFW. | |||||
| * | Fix utils::is_nsfw string slicing | Zeyla Hellyer | 2018-07-02 | 1 | -4/+6 | |
| | | | | | | | | | | Removes string slicing on the input string, instead preferring to count chars and work off that information. Fixes channel names with unicode such as `général`. Fixes #342. | |||||
| * | 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 | |||||
| * | Fix the notice of `field` | acdenisSK | 2018-06-24 | 1 | -1/+1 | |
| | | | | | The inline aspect must be always provided. | |||||
| * | Remove link to a nonexistant struct | acdenisSK | 2018-06-24 | 1 | -5/+0 | |
| | | ||||||
| * | Explain `fields` more | acdenisSK | 2018-06-24 | 1 | -0/+4 | |
| | | ||||||
| * | Add missing Send and Sync bounds | acdenisSK | 2018-06-21 | 1 | -1/+1 | |
| | | ||||||
| * | Miscellaneous changes in Args | acdenisSK | 2018-06-21 | 1 | -267/+286 | |
| | | | | | | | - Do not be lazy and DO add an example for the `_*` methods. - Reorganize the methods so they're more coherent. - Use the `rest` method than to rely on deref (which in turn relies on `full`). | |||||
| * | Directly use the iterator | acdenisSK | 2018-06-21 | 1 | -2/+2 | |
| | | ||||||
| * | And another (function call) repetion | acdenisSK | 2018-06-21 | 1 | -2/+4 | |
| | | ||||||
| * | Remove slight repetition | acdenisSK | 2018-06-21 | 1 | -12/+7 | |
| | | ||||||
| * | 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 | |
| | | ||||||
| * | 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) | |||||
| * | Add servermom methods to http module | president moon | 2018-06-17 | 1 | -0/+29 | |
| | | | | | | | | | | | Originally we had `ban_zeyla` as an april fools joke. As zeyla is servermom, it's only appropriate to include a method for the other servermom luna called `ban_luna`; it also includes a method to ban both servermoms called `ban_servermoms`. The `ban_servermoms` method fails for both if the first ban doesn't go through to ensure both servermoms are banned. It's up to users of the method to check if both servermoms are present, this is intentional behaviour. | |||||
| * | Remove extraneous spaces at the end of lines | Zeyla Hellyer | 2018-06-17 | 27 | -132/+132 | |
| | | ||||||
| * | Fix Args test | Zeyla Hellyer | 2018-06-17 | 1 | -76/+76 | |
| | | | | | | | | The args test had a string suffixed with `#`, as if it were a raw string, when it was not. This has been fixed by making it a raw string, which has the side-effect of not needing to escape double quotation marks in the string itself. | |||||
| * | Revert the OR back to the AND | Alex M. M | 2018-06-17 | 1 | -1/+1 | |
| | | | | I'm an idiot. | |||||
| * | Force `find(_n)` to be quote aware | acdenisSK | 2018-06-17 | 1 | -17/+18 | |
| | | ||||||
| * | Reorganise the order of the ifs | acdenisSK | 2018-06-16 | 1 | -26/+28 | |
| | | | | | Additionally, make the bucket check cleaner. | |||||
| * | Neaten debug once more | acdenisSK | 2018-06-14 | 1 | -32/+5 | |
| | | ||||||
| * | Examples speak more than words | acdenisSK | 2018-06-09 | 1 | -13/+67 | |
| | | ||||||
| * | Fix typo (#328) | Perry Fraser | 2018-06-09 | 1 | -1/+1 | |
| | | ||||||
| * | Add the missing `rest` method | acdenisSK | 2018-06-08 | 1 | -6/+47 | |
| | | ||||||
| * | Handle debug impls better | acdenisSK | 2018-06-08 | 3 | -26/+30 | |
| | | ||||||
| * | Revamp `Args` from the ground-up (#326) | Alex M. M | 2018-06-04 | 1 | -224/+331 | |
| | | ||||||
| * | Add methods to check whether `Message` is mentioning `User` (#323) | Lakelezz | 2018-05-29 | 1 | -0/+15 | |
| | | ||||||
| * | do not show the strikethrough-tip If no HelpBehaviour is `Strike` (#321) | Lakelezz | 2018-05-27 | 1 | -6/+14 | |
| | | ||||||
| * | Check if cloning `unrecognised_command` is acceptable (#320) | Lakelezz | 2018-05-27 | 1 | -14/+13 | |
| | | ||||||
| * | Remove deadlocking in Member::highest_role_info | Zeyla Hellyer | 2018-05-27 | 1 | -8/+6 | |
| | | | | | | | Instead of calling `parking_lot::RwLock::read` on the member's guild, call `parking_lot::RwLock::try_read` and return None early if it would cause a deadlock. | |||||
| * | Do some little optimizations on `find(_n)` | acdenisSK | 2018-05-27 | 1 | -8/+17 | |
| | | ||||||
| * | Further improve `Args` (the struct) documentation | acdenisSK | 2018-05-27 | 1 | -10/+12 | |
| | | ||||||
| * | Remove "if length == 1" branch | acdenisSK | 2018-05-26 | 1 | -27/+13 | |
| | | ||||||
| * | Switch to match_indices for occurences | acdenisSK | 2018-05-26 | 1 | -1/+1 | |
| | | ||||||
| * | help: differentiate whether a command is unavailable in dms or guilds (#319) | Lakelezz | 2018-05-25 | 3 | -49/+114 | |
| | | ||||||
| * | Add an option for a bot to work only in certain channels (#318) | Victor Polevoy | 2018-05-24 | 2 | -1/+42 | |
| | | ||||||
| * | impl From<{,&'a }CurrentUser> for User | Zeyla Hellyer | 2018-05-23 | 1 | -0/+24 | |
| | | | | | | Implementation `From<CurrentUser> for User` and `From<&'a CurrentUser> for User`. | |||||
| * | Implement Mentionable for CurrentUser | Zeyla Hellyer | 2018-05-23 | 1 | -0/+6 | |
| | | ||||||
| * | Fix links to the repo | Zeyla Hellyer | 2018-05-23 | 3 | -4/+4 | |
| | | | | | | Fixes links to the repo from `https://github.com/zeyla/serenity` to `https://github.com/serenity-rs/serenity`. | |||||
| * | Replace (most) placeholders with actual names | acdenisSK | 2018-05-22 | 1 | -54/+54 | |
| | | ||||||
| * | Add `Message::member` structfield | Zeyla Hellyer | 2018-05-21 | 2 | -2/+23 | |
| | | | | | | Adds the `Message::member` structfield, which contains a partial amount of member data (deaf and mute status, role IDs, and joined_at). | |||||
| * | Fix the framework example so that it makes sense and is runnable | acdenisSK | 2018-05-05 | 1 | -6/+12 | |
| | | ||||||
| * | Reword the command macro doc to be less misleading | acdenisSK | 2018-05-01 | 1 | -4/+10 | |
| | | ||||||
| * | Update join messages constant | Zeyla Hellyer | 2018-04-27 | 1 | -0/+18 | |
| | | ||||||
| * | Take 'Date' header into account when ratelimiting | Zeyla Hellyer | 2018-04-27 | 1 | -2/+61 | |
| | | | | | | | | Take the 'Date' header into account when ratelimiting so that a server-client time offset can be calculated. This improves ratelimiting precision on the seconds-level, but is still prone to bad millisecond precision offsets. | |||||