aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Switch to tokio for events (#122)Alex Lyon2017-07-148-111/+294
|
* Fix the doc on `PrivateChannel::name`acdenisSK2017-07-141-1/+1
|
* Add `ChannelId,PrivateChannel,GuildChannel::name` functionsacdenisSK2017-07-143-0/+33
|
* Provide the command into the checksacdenisSK2017-07-133-3/+3
| | | | Although in the future, this will be changed to just bits of data of an actual command that wouldn't collide with the framework's code, but would still be useful for a check to use.
* Improve `BanOptions` to be more efficient and remove uneccessary `Read` importsacdenisSK2017-07-136-19/+9
|
* Remove the deprecated functionsacdenisSK2017-07-1117-879/+0
| | | | It's already been enough time for people to migrate
* Add a way to add multiple fields at onceacdenisSK2017-07-111-0/+20
|
* Rename `online_members` to `members_with_status` and compare the status ↵acdenisSK2017-07-101-3/+3
| | | | provided to the function instead
* Return an error if the reason the user provided exceeded the limitacdenisSK2017-07-103-2/+19
|
* Use a trait way of overloading the `ban` function instead of an enumacdenisSK2017-07-102-52/+37
| | | | Possibly removes some overhead introduced by enums but makes the underlaying code of the function easier to read and is more concise
* Fixed clippy warnings (#120)Kaidan2017-07-102-4/+4
|
* Make `User` and `Ban` comparable and hashableacdenisSK2017-07-102-2/+2
|
* Add a way to return all online members in a guildacdenisSK2017-07-091-0/+18
|
* Remove the note from the comment on `reason`acdenisSK2017-07-081-3/+0
| | | | Audit log works and does give a reason, so this note is just false info
* Implement attaching reasons to bansacdenisSK2017-07-083-10/+71
|
* Actually, use `unreachable!` instead of `panic!`acdenisSK2017-07-071-1/+1
|
* Apply the new api change for dms in botsacdenisSK2017-07-073-42/+42
|
* Add an `is_new` to the arguments of the `guild_create` handleracdenisSK2017-07-052-2/+15
| | | | To make a better distinction from a guild that the bot's already in and from the ones it's joining
* Remove `checks_passed` in favour of the `Iterator::all` methodacdenisSK2017-07-041-11/+1
|
* Add a macro hereacdenisSK2017-07-031-48/+32
|
* Change the readme to use `docs.rs` instead of `serenity.zey.moe`acdenisSK2017-07-021-1/+1
|
* Fix doc testsacdenisSK2017-07-0217-416/+626
|
* Add a `quit` function`acdenisSK2017-06-301-0/+11
| | | | Fixes #70
* Also update examplesacdenisSK2017-06-296-50/+79
|
* Whoops, and add a fail-safe to an upcomming pr to the compileracdenisSK2017-06-283-145/+50
| | | | https://github.com/rust-lang/rust/pull/42894
* Update readme, docs and add `EventHandler` to the preludeacdenisSK2017-06-283-22/+34
|
* Merge branch "trait-based-event-handling"acdenisSK2017-06-283-937/+322
|
* Add reaction actions (#115)alex2017-06-282-17/+145
| | | Fixes #87
* Add an `on_cached` event (#114)alex2017-06-283-8/+76
| | | | Fixes #89
* Fixed clippy warnings (#118)Kaidan2017-06-282-3/+1
|
* Add support for sending attachments in embeds (#95)alex2017-06-281-0/+10
|
* Make CommandOrAlias and CommandGroup.commands public (#117)Joe K2017-06-282-3/+3
|
* Update docs linksZeyla Hellyer2017-06-272-13/+13
|
* Update authors list in Cargo.tomlZeyla Hellyer2017-06-271-1/+1
|
* Docs fixesmei2017-06-2713-86/+34
|
* Add missing ModelError variant in description implZeyla Hellyer2017-06-271-0/+1
|
* Update features list in READMEZeyla Hellyer2017-06-261-0/+10
|
* Remove most badges, related projects from READMEZeyla Hellyer2017-06-261-23/+2
|
* Prevent Direct Messaging other bot usersZeyla Hellyer2017-06-262-0/+19
| | | | | | The API no longer allows bot users to Direct Message other bot users, so pre-emptively check that the recipient is not a bot. If it is, return a `ModelError::MessagingBot`.
* Fix ModelError doctestZeyla Hellyer2017-06-251-0/+3
|
* Bump to v0.3.0v0.3.0Zeyla Hellyer2017-06-244-4/+226
|
* Fix no-framework, client compilesZeyla Hellyer2017-06-241-1/+1
|
* Fix no-feature testsZeyla Hellyer2017-06-2410-105/+135
|
* Make Message::nonce a serde_json::ValueZeyla Hellyer2017-06-233-81/+3
| | | | | | | | | | | | | | | | | | Nonces can actually be almost anything - including booleans - so just use a Value to represent it since very few users will need it. This fixes errors like: ``` WARN:serenity::internal::ws_impl: (╯°□°)╯︵ ┻━┻ Error decoding: {"t":"MESSAGE_CREATE","s":12187872,"op":0,"d":{"type":0,"tts":false,"timestamp":"2017-06-01T01:00:00.000000+00:00","pinned":false,"nonce":"","mentions":[{"username":"redacted","id":"redacted","discriminator":"redacted","avatar":"redacted"}],"mention_roles":[],"mention_everyone":false,"id":"redacted","embeds":[],"edited_timestamp":null,"content":"redacted","channel_id":"redacted","author":{"username":"redacted","id":"redacted","discriminator":"redacted","bot":true,"avatar":"redacted"},"attachments":[]}} ERROR:serenity::client: Shard handler received err: Json(ErrorImpl { code: Message("Unknown i64 value: "), line: 0, column: 0 }) ``` and: ``` WARN:serenity::internal::ws_impl: (╯°□°)╯︵ ┻━┻ Error decoding: {"t":"MESSAGE_CREATE","s":1001192,"op":0,"d":{"type":0,"tts":false,"timestamp":"2017-06-01T01:01:01.000000+00:00","pinned":false,"nonce":true,"mentions":[],"mention_roles":[],"mention_everyone":false,"id":"redacted","embeds":[],"edited_timestamp":null,"content":"bork","channel_id":"redacted","author":{"username":"redacted","id":"redacted","discriminator":"redacted","bot":true,"avatar":"redacted"},"attachments":[]}} ERROR:serenity::client: Shard handler received err: Json(ErrorImpl { code: Message("invalid type: boolean `true`, expected identifier"), line: 0, column: 0 }) ```
* Update max embed lengthZeyla Hellyer2017-06-221-1/+1
| | | | Embeds can now have a combined textual length of 6000, up from 4000.
* Attempt to reconnect if heartbeating failsZeyla Hellyer2017-06-212-7/+7
|
* Reconnect on failed heartbeatsZeyla Hellyer2017-06-212-7/+15
|
* Update dependenciesZeyla Hellyer2017-06-216-45/+45
|
* Extract Discord close codes to constantsZeyla Hellyer2017-06-212-13/+60
|
* Add 'wait' parameter to http::execute_webhookZeyla Hellyer2017-06-203-15/+31
| | | | | | The 'wait' parameter allows you to specify waiting for the Message to be sent prior to receiving a response, which will have Discord include the JSON representation of the Message in the body.