aboutsummaryrefslogtreecommitdiff
path: root/src/utils/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Abstract command fields to typesAustin Hellyer2016-12-091-15/+13
|
* Command builder, quoted args, and multi-prefixesIllia2016-12-091-0/+46
| | | | | 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.
* Change all try's into ?sacdenisSK2016-12-071-1/+1
| | | This breaks compatibility with < 1.13, but we didn't support that anyway.
* Allow mentionable structs to be used as command argumentsIllia2016-12-071-0/+83
| | | | | 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
* Clean up the codebaseAustin Hellyer2016-11-291-54/+0
|
* Improve docs and add new message builder methodsIllia K2016-11-281-8/+2
| | | | | Add documentation for some missing methods - such as Game methods - and add more methods to the Message Builder.
* Remove the 'extras' feature flagAustin Hellyer2016-11-261-2/+0
| | | | | | There aren't many things behind this flag (6), and it only causes annoyances for locally-generated docs, which won't show these mostly-useful items behind the flag.
* A bit of docsAustin Hellyer2016-11-181-4/+27
|
* Add state/framework/etc. conditional compile flagsAustin Hellyer2016-11-151-79/+11
| | | | | | | | | | | | | | | This adds conditional compilation for the following features, in addition to the voice conditional compilation flag: - extras (message builder) - framework - methods - state These 4 are enabled _by default_, while the `voice` feature flag is disabled. Disabling the state will allow incredibly low-memory bots.
* Add voice connection supportAustin Hellyer2016-11-141-1/+50
|
* Add internal moduleAustin Hellyer2016-11-141-1/+1
| | | | | Create a general `internal` module, and move `prelude_internal` to `internal::prelude`.
* Move the builders to the utilsAustin Hellyer2016-11-131-0/+2
| | | | | | | | | The builders aren't a large enough portion of the library to deserve their own root-level module, so move them to the `utils` module. Additionally, split them into separate files, as the library will be receiving more builders and the single-file pattern was getting rather large.
* Fix some clippy lintsAustin Hellyer2016-11-101-0/+3
|
* Map op codes via a macroAustin Hellyer2016-11-091-0/+26
|
* Add some more documentationAustin Hellyer2016-11-061-2/+6
|
* Add a prelude for userlandAustin Hellyer2016-11-051-1/+1
| | | | | | | Users can now import all of a prelude via `use serenity::prelude::*;`, which should provide some helpful stuff. As such, the internal prelude is now named `serenity::prelude_internal`, and all internal uses have been adjusted.
* Support major parameters in ratelimitsAustin Hellyer2016-11-051-4/+4
| | | | | Refer to the documentation for `serenity::client::ratelimiting::Route` on how major parameters work.
* Initial commitAustin Hellyer2016-10-181-0/+140