aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Expose message webhook IdsIllia2016-12-182-0/+10
|
* Fix framework command cooldownsAustin Hellyer2016-12-171-1/+1
|
* Add guild splash URL methodsAustin Hellyer2016-12-171-0/+23
|
* Remove useless cache useAustin Hellyer2016-12-171-3/+0
|
* Make Id displays format u64 instead of a mentionAustin Hellyer2016-12-173-11/+70
| | | | | | Instead of mentioning the channel, role, or user on an Id display format, format its inner u64 instead. Instead, use `Id::mention()` to accomplish the equivilant.
* Remove cache feature dependency for frameworkAustin Hellyer2016-12-163-56/+78
|
* Make 'voice' feature not require 'cache'Austin Hellyer2016-12-166-8/+19
| | | | | | | | The voice module required the cache feature in order to access the current user's Id. Instead, just copy the Id into the VoiceManager and distribute it from there -- the memory impact will be very minimal in comparison to the benefits of not needing to constantly unlock the Cache and not needing the user to be forced to use the Cache.
* Simplify gateway identify compressionAustin Hellyer2016-12-161-7/+2
|
* Modify examples to point to current repoAustin Hellyer2016-12-167-7/+7
| | | | | | | | | | | Instead of pointing to the current minor version, the examples' `Cargo.toml`s should be a relative path to the current cloned repo. This improves the examples by: 1. always being up-to-date if major or minor version updates occur; 2. being more up-to-standard with the examples' readme; 3. making debugging the library locally easier (not having to constantly modify the version to a path).
* Framework: format argument number on parse errorIllia2016-12-161-2/+9
|
* Fix framework owners_only checkIllia2016-12-161-6/+8
|
* Cleanup YAML definition layoutsAustin Hellyer2016-12-1546-185/+211
|
* Fix User::avatar_url + add Id display testsAustin Hellyer2016-12-153-2/+38
| | | | | User::avatar_url was formatting the user's Id as a mention, rather than the inner u64.
* Release v0.1.3 for some hotfixesv0.1.3Austin Hellyer2016-12-142-1/+19
|
* Plain help: put groups on their own lineAustin Hellyer2016-12-141-0/+2
|
* Fix plain help command usage outputAustin Hellyer2016-12-141-0/+2
|
* Framework blocks, disabled commands, improvementsIllia2016-12-145-48/+207
|
* Release v0.1.2v0.1.2Austin Hellyer2016-12-142-6/+103
|
* Framework requires cacheAustin Hellyer2016-12-142-5/+4
|
* Slightly rework framework bucketsAustin Hellyer2016-12-146-207/+200
|
* Don't mutate token for bots on profile changezeyla2016-12-131-2/+4
|
* Implement command groups and bucketsIllia2016-12-1314-131/+775
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement command groups * change to ref mut * Implement framework API. * Remove commands field * Make it all work * Make example use command groups * Requested changes * Implement adding buckets * Add ratelimit check function * Finish everything * Fix voice example * Actually fix it * Fix doc tests * Switch to result * Savage examples * Fix docs * Fixes * Accidental push * 👀 * Fix an example * fix some example * Small cleanup * Abstract ratelimit bucket logic
* Fix readme typoAustin Hellyer2016-12-121-1/+1
| | | | Too many setting git remotes today.
* Add emoji URL generation methodsAustin Hellyer2016-12-122-0/+16
|
* Add related projects to readmeAustin Hellyer2016-12-121-1/+16
|
* Cleanup gateway prepAustin Hellyer2016-12-121-4/+1
|
* More config for CreateCommand, add various methodsIllia2016-12-1023-179/+381
| | | | | | | | | | | | | | | | | | | | | | | | | | Adds multiple configurations to the command builder, and adds methods to various structs. Context::get_current_user is a shortcut to retrieve the current user from the cache. Message::get_member retrieves the member object of the message, if sent in a guild. Message::is_private checks if the message was sent in a Group or PrivateChannel. User::member retrieves the user's member object in a guild by Id; Adds 6 configurations to the command builder: - dm_only: whether the command can only be used in direct messages; - guild_only: whether the command can only be used in guilds; - help_available: whether the command should be displayed in the help list; - max_args: specify the maximum number of arguments a command must be given; - min_args: specify the minimum number of arguments a command must be given; - required_permissions: the permissions a member must have to be able to use the command;
* Fix no-cache+method conditional compilesAustin Hellyer2016-12-109-30/+38
| | | | Additionally, flag imports behind feature flags to avoid unused imports.
* Deprecate embed image/thumbnail height/widthAustin Hellyer2016-12-092-43/+12
| | | | | | The height and width fields for embed images and thumbnails can not be set - whereas originally there may have been plans to - so deprecate them and remove in v0.3.0.
* Abstract command fields to typesAustin Hellyer2016-12-094-29/+33
|
* Add installation notesAustin Hellyer2016-12-092-0/+34
|
* Fix some clippy lintsAustin Hellyer2016-12-095-13/+13
|
* Command builder, quoted args, and multi-prefixesIllia2016-12-097-68/+346
| | | | | Add a command builder, which can take arguments such as multiple checks, quoted arguments, and multiple prefix support, as well as dynamic prefixes per context.
* Implement From<Embed> for CreateEmbedAustin Hellyer2016-12-083-9/+155
|
* Change all try's into ?sacdenisSK2016-12-0720-501/+496
| | | This breaks compatibility with < 1.13, but we didn't support that anyway.
* Allow mentionable structs to be used as command argumentsIllia2016-12-076-1/+230
| | | | | Add EmojiIdentifier, allow User, UserId, Role, RoleId, EmojiIdentifier, Channel and ChannelId to be used as arguments for commands and add more parsing functions to utils
* Improve Mentions, fix MessageBuilderIllia2016-12-067-101/+101
| | | | | Remove the obsolete Mention struct as well as related methods, improve the way mentioning works, fix the message builder, add a test for all this.
* Fix changelog headerv0.1.1Austin Hellyer2016-12-051-1/+1
|
* Release v0.1.1Austin Hellyer2016-12-052-1/+99
|
* Add a ShareMap across contextsAustin Hellyer2016-12-057-44/+147
| | | | | | | | The context now exposes, through the Client, a `data` field, which can be accessed safely across contexts. This allows for a custom "shared state" without the need for (ab)using lazy-static.rs. Refer to example 06 for an example on how to use shared data.
* Add more Context docs+permission requirementsAustin Hellyer2016-12-043-27/+194
| | | | | Add more documentation to most of the Context methods, also clarifying which permission/s are required for each method.
* Add documentation for modelsIllia2016-12-0423-21/+217
|
* Use proper comments on inline ratelimit commentsAustin Hellyer2016-12-041-2/+2
|
* Fix signature of Context::move_memberAustin Hellyer2016-12-031-2/+2
|
* Import this import _again_Austin Hellyer2016-12-031-0/+2
|
* Make Member::colour() return an optional colourAustin Hellyer2016-12-033-21/+9
|
* Derive Eq/Ord on ColourAustin Hellyer2016-12-031-1/+14
|
* Add Member::colourIllia2016-12-032-12/+37
| | | | Add a colour method to retrieve the member's top role with a unique colour, or the default colour if none can be applied.
* Add Role Eq/Ord implsAustin Hellyer2016-12-031-0/+33
| | | | | | | | | Roles can now be compared directly. This is a heirarchy check. This checks the following between two roles, A and B: - A's position is greater than B; - if not, then A's Id is greater than B; if these two conditions are false, then B is greater than A. If the two conditions are both true, then they are of equivilance.
* Fix Shard::set_presence exampleAustin Hellyer2016-12-031-1/+1
|