aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add a case for `context, message, args, full_message`acdenisSK2017-08-181-0/+8
|
* Allow the user to be given the original message (as in, the message used to ↵acdenisSK2017-08-184-15/+23
| | | | construct the `args`)
* Fix args when `use_quotes` is trueacdenisSK2017-08-181-1/+1
|
* Expande CheckFailed to provide Arc<Command>(#138)Lakelezz2017-08-171-2/+2
|
* Reword thisacdenisSK2017-08-161-1/+1
| | | | It already is filled, so this needed to be reworded a bit, but anyways, *facepalm for the unecessary issue creation*. Fixes #137
* Provide the args to the checksacdenisSK2017-08-163-10/+12
|
* a little for-loop to iterator changeacdenisSK2017-08-161-3/+1
| | | | Also added .vscode to .gitignore, because it may or may not contain some stuff others wouldn't want when they're coding in it.
* Use `#[serde(default)]` on `nsfw` insteadacdenisSK2017-08-151-3/+1
|
* `$crate_name` => `version`, and a few adjustementsacdenisSK2017-08-141-21/+13
|
* Fix string delimiters (#134)Lakelezz2017-08-133-31/+39
|
* Trim a second time for a sakeacdenisSK2017-08-121-6/+8
|
* Rewamp the custom delimeter functionality to support moreacdenisSK2017-08-122-5/+34
|
* Add support for custom delimetersacdenisSK2017-08-122-1/+29
|
* Don't do any other fuzz about private channels if they're already in the cacheacdenisSK2017-08-111-0/+4
|
* Put `update_user_entry` back into the cacheacdenisSK2017-08-112-14/+12
| | | | Not really related to the events by any means
* Split event handling in the cache to a traitacdenisSK2017-08-104-491/+550
| | | | note: This trait might become like `framework::Framework` in the future.
* Remove the `I` bound for the language param and fix `push_mono_safe`acdenisSK2017-08-081-5/+5
|
* Fix the test `message_content_safe`acdenisSK2017-08-063-69/+80
| | | | This commit does NOT interfere with the "accept Display" change to the builder
* >.>acdenisSK2017-08-051-1/+1
|
* Refactor the display stuff a bitacdenisSK2017-08-043-75/+22
|
* Deprecate `GuildId::as_channel_id` and add simulation methods for the ↵acdenisSK2017-08-042-1/+43
| | | | | | "default channel" concept Also fix a little mistake
* Remove uneccessary mapacdenisSK2017-08-041-2/+2
|
* Make so content and language can be of different typesacdenisSK2017-08-041-2/+2
|
* Also make the message builder use DisplayacdenisSK2017-08-041-53/+119
|
* Make some functions accept anything that's implemented DisplayacdenisSK2017-08-043-14/+31
|
* Change to c-like enums and transmuteacdenisSK2017-08-021-164/+55
|
* Fix testsZeyla Hellyer2017-08-011-1/+1
|
* Make colour implement `From<(u8, u8, u8)>`acdenisSK2017-08-011-0/+5
|
* Use ranges instead of guardsacdenisSK2017-08-011-9/+7
|
* Clippy and rustfmtacdenisSK2017-08-016-20/+24
|
* Provide the input and limit back to the user, and do some consistenciesacdenisSK2017-08-013-5/+11
|
* Remove the `ext` module and remove a matchacdenisSK2017-08-013-29/+2
| | | | | The `ext` has existed for a long while just for backwards compatibility. But then again, majority of people should have migrated to the current modules already; making this module useless to keep in the library.
* Fix failing tests (#133)Andrej2017-07-313-8/+9
|
* Reuse `num`acdenisSK2017-07-311-8/+8
|
* Improve `Action`acdenisSK2017-07-311-100/+200
|
* Handle the `None`s betteracdenisSK2017-07-301-3/+8
|
* Remove a few clonesacdenisSK2017-07-297-27/+26
|
* Fix importsacdenisSK2017-07-271-3/+3
|
* Fix the `_other` match armacdenisSK2017-07-271-3/+6
|
* Change the config a bit, and a few nitpicksacdenisSK2017-07-2750-1361/+1552
|
* rustfmtacdenisSK2017-07-2778-2701/+2674
|
* Use a consistent indentation styleZeyla Hellyer2017-07-262-26/+26
| | | | | | | | | This project has - in the past - used an indentation style of 4 spaces, without trailing whitespace. This commit modifies lines with tab indentation to 4 spaces. Whether to use tabs or spaces is up to the current maintainer, but consistency avoids files eventually being completely mixed styles.
* Make the `framework` module feature-gated and fix the names in the helper macroacdenisSK2017-07-274-23/+28
|
* Fix condional compilation for `Framework::initialized` when ↵acdenisSK2017-07-271-18/+22
| | | | builtin-framework is turned off
* Fix is_own codeZeyla Hellyer2017-07-251-1/+1
| | | | | The current user ID is located on the `user` structfield in the cache, and is not directly on the cache.
* Actually, rename it to "is_own" insteadacdenisSK2017-07-261-1/+1
|
* Add a util function for checking if a message was sent by the bot or someone ↵acdenisSK2017-07-261-0/+6
| | | | else
* Remove the code meant for debuggingacdenisSK2017-07-241-2/+0
| | | | "Meant" as in, the data frame errors and whatever shenanigans weren't allowing me to
* Revert the ignoring of protocol and data frame errors, while actually ↵acdenisSK2017-07-243-14/+18
| | | | | | handling ping pongs When receiving pings, serenity MUST send the pong with the same data as the ping. Well, as said in the rfc for websockets anyway. Though, regarding the errors, i found out that serenity's gateway wouldn't work, but i do see that i'll have to file an issue to see if they know why are these happening at all
* Also ignore data frame errorsacdenisSK2017-07-231-1/+2
|