aboutsummaryrefslogtreecommitdiff
path: root/src/ext/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix docs linksAustin Hellyer2017-01-241-5/+2
|
* More config for CreateCommand, add various methodsIllia2016-12-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 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;
* Add a bit more docsAustin Hellyer2016-11-261-3/+3
|
* Rename the State to CacheAustin Hellyer2016-11-221-3/+3
|
* Add state/framework/etc. conditional compile flagsAustin Hellyer2016-11-151-1/+8
| | | | | | | | | | | | | | | 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-0/+1
|
* Initial commitAustin Hellyer2016-10-181-0/+13