aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | WhoopsacdenisSK2017-10-091-2/+2
| |
* | Add a todoacdenisSK2017-10-091-0/+1
| |
* | Make the internal string publicacdenisSK2017-10-091-1/+1
| |
* | Change behaviour of default_channel (#185)Mei Boudreau2017-10-072-8/+25
| |
* | Do not to " " if none of the provided delimiters are found (#183)Jacob Helwig2017-10-072-9/+8
| |
* | Change default_channel to return a pointer (#179)Mei Boudreau2017-10-052-6/+8
| |
* | Merge branch 'v0.4.1' into v0.5.0acdenisSK2017-09-302-9/+23
|\|
| * Fix a few things with the framework traitacdenisSK2017-09-302-9/+23
| |
* | Change the way users' command handlers are stored asacdenisSK2017-09-294-33/+23
|/
* Fix User::tag and CurrentUser::tag discrim outputZeyla Hellyer2017-09-281-1/+1
| | | | | The output in a tag may result in "username#304" instead of the correct "username#0304".
* Fix client shards by cloning ShardManager runnersZeyla Hellyer2017-09-274-10/+15
| | | | | | Due to the new ShardManager, `Client::shards` would never fill, so instead clone the `shard_runners` instance from the `ShardManager` to the `Client`.
* Fix client no-framework compilationZeyla Hellyer2017-09-274-32/+79
|
* Use `request_client!` for attachment downloading (#165)Benjamin Cheng2017-09-261-1/+1
|
* Update readme exampleZeyla Hellyer2017-09-251-1/+2
|
* Bump to v0.4.0Zeyla Hellyer2017-09-251-1/+1
|
* Use display instead of std::error::ErroracdenisSK2017-09-251-28/+3
| | | | Kind of a bad decision but due to the compiler being a meany with impl conflicts for `From<&str>` and `From<String>`, it needs to be done. Plus it removes the useless custom struct.
* Switch to temporary rust-websocket forkZeyla Hellyer2017-09-251-1/+1
|
* Fix tests and example 05Zeyla Hellyer2017-09-244-12/+14
|
* Add a shard managerZeyla Hellyer2017-09-248-286/+547
| | | | The shard manager will queue up shards for booting.
* Use $crate for CommandErroracdenisSK2017-09-241-3/+3
|
* Refactor display impls for idsacdenisSK2017-09-246-24/+7
|
* Revamp errors in `Args` and commandsacdenisSK2017-09-236-86/+141
|
* Document http::set_token and unhide it from docsZeyla Hellyer2017-09-231-3/+22
|
* Update bitflags, other dependenciesZeyla Hellyer2017-09-219-78/+87
| | | | | | | | | | | | | | | | | | | | | | | Bitflags changed its macro codegen from creating constants to associated constants on structs. Upgrade path: Update code from: ```rust use serenity::model::permissions::{ADD_REACTIONS, MANAGE_MESSAGES}; foo(vec![ADD_REACTIONS, MANAGE_MESSAGES]); ``` to: ```rust use serenity::model::Permissions; foo(vec![Permissions::ADD_REACTIONS, Permissions::MANAGE_MESSAGES]); ```
* Remove tokio usageZeyla Hellyer2017-09-216-391/+154
|
* Fix a documentation typoZeyla Hellyer2017-09-191-1/+1
|
* Also rustfmtZeyla Hellyer2017-09-184-8/+20
|
* Add Send/Sync to framework itemsZeyla Hellyer2017-09-184-15/+17
|
* Fix block on spawning multiple shardsZeyla Hellyer2017-09-183-22/+28
| | | | | | | | | | | | When spawning multiple shards (via an equal number of futures - one per shard) joined on a core.run use, the very first future executed would block forever due to a sync, blocking `monitor_shard` use. While this defeats the purpose of tokio, this was meant to be a first step to an async serenity implementation. To "fix" this blocking call until a deeper async implementation is made, spawn a new thread per tokio core (and thus per shard). This causes the same expected behaviour, just with multiple threads like before.
* Apply rustfmtZeyla Hellyer2017-09-1854-960/+642
|
* Fix compiles of a variety of feature combinationsZeyla Hellyer2017-09-1823-108/+134
| | | | | This fixes compilation errors and warnings when compiling a mixture of non-default feature targets.
* Apply rustfmtZeyla Hellyer2017-09-182-2/+6
|
* Gate ChannelCategory impl behind 'model' featureZeyla Hellyer2017-09-181-0/+1
| | | | | The rest of the models in the model module have their implementations gated behind the "model" feature, so do the same here.
* Use combinators in `parse_header`acdenisSK2017-09-171-14/+7
|
* if let -> and_then/mapacdenisSK2017-09-171-5/+1
|
* Apply rustfmtZeyla Hellyer2017-09-141-11/+11
|
* Don't clone in Cache::all_guilds/private_channelsZeyla Hellyer2017-09-141-5/+3
| | | | We don't need to clone the Vec, if the user needs to they can.
* Put the cloning at a later stageacdenisSK2017-09-141-2/+2
|
* Revamp `CacheEventsImpl`acdenisSK2017-09-126-588/+684
|
* Copy some methods from Command to Group (#164)Maiddog2017-09-113-4/+96
|
* Add `Context::handle`acdenisSK2017-09-112-44/+48
|
* Fixed admin bypass perm to framework allowed_rolesLakelezz2017-09-092-9/+13
| | | | | | This makes those with the "Administrator" permission able to bypass the `allowed_roles` check. Additionally change a usage of `len() > 0` to `is_empty()`.
* Handle channel category deletionZeyla Hellyer2017-09-091-14/+16
|
* serde rename `kind` to `type`acdenisSK2017-09-091-0/+1
|
* Apply rustfmt + fix testsZeyla Hellyer2017-09-098-16/+42
|
* `parent_id` -> `category_id`acdenisSK2017-09-092-4/+6
|
* Implement categoriesacdenisSK2017-09-0910-2/+187
|
* Change order to avoid subtraction overflow error (#160)Maiddog2017-09-071-1/+1
|
* Update `Guild::ban` to use `BanOptions`acdenisSK2017-09-062-9/+11
| | | | Also update `Member::permissions` to the default channel change
* Add a way for users to get ShardsZeyla Hellyer2017-09-051-0/+56
| | | | | | Add a HashMap which contains the shards, keyed by the shard ID with the value as the shard. This allows for manual interaction outside of event handlers.