aboutsummaryrefslogtreecommitdiff
path: root/src/model/guild/audit_log.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix some clippy lintsZeyla Hellyer2018-07-151-2/+2
| | | | | Some lints were not resolved due to causing API changes. Most lints in the framework were left unfixed.
* Remove extraneous spaces at the end of linesZeyla Hellyer2018-06-171-1/+1
|
* Get rid of a spurious import warningacdenisSK2018-04-201-4/+3
|
* make `Options`'s fields optional (#305)Kyle Clemens2018-04-121-15/+60
|
* Turn the number-like properties of `Options` into `u64`acdenisSK2018-04-111-38/+45
|
* Handle (de)serializing `target_id` from/to a stringacdenisSK2018-04-111-2/+37
|
* Refactor imports/exports to use nested groups and better formattingacdenisSK2018-03-291-4/+12
|
* Implement or derive Serialize on all modelsZeyla Hellyer2018-01-011-5/+105
|
* Break up the model moduleZeyla Hellyer2017-12-161-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `model` module has historically been one giant module re-exporting all of the model types, which is somewhere around 100 types. This can be a lot to look at for a new user and somewhat overwhelming, especially with a large number of fine-grained imports from the module. The module is now neatly split up into submodules, mostly like it has been internally since the early versions of the library. The submodules are: - application - channel - error - event - gateway - guild - id - invite - misc - permissions - prelude - user - voice - webhook Each submodule contains types that are "owned" by the module. For example, the `guild` submodule contains, but not limited to, Emoji, AuditLogsEntry, Role, and Member. `channel` contains, but not limited to, Attachment, Embed, Message, and Reaction. Upgrade path: Instead of glob importing the models via `use serenity::model::*;`, instead glob import via the prelude: ```rust use serenity::model::prelude::*; ``` Instead of importing from the root model module: ```rust use serenity::model::{Guild, Message, OnlineStatus, Role, User}; ``` instead import from the submodules like so: ```rust use serenity::model::channel::Message; use serenity::model::guild::{Guild, Role}; use serenity::model::user::{OnlineStatus, User}; ```
* Re-order use statements alphabeticallyZeyla Hellyer2017-11-111-2/+2
|
* `deserialize_i32` -> `deserialize_u8`acdenisSK2017-11-031-1/+1
|
* Fix audit logs a bitacdenisSK2017-11-011-37/+70
|
* Apply rustfmtZeyla Hellyer2017-09-181-8/+4
|
* Add ability to play DCA and Opus files. (#148)Maiddog2017-08-271-6/+10
|
* Revamp `RwLock` usage in the libacdenisSK2017-08-241-10/+6
| | | | Also not quite sure if they goofed rustfmt or something, but its changes it did were a bit bizarre.
* Apply rustfmtZeyla Hellyer2017-08-181-1/+1
|
* ClippyacdenisSK2017-08-191-1/+1
|
* Change to c-like enums and transmuteacdenisSK2017-08-021-164/+55
|
* Use ranges instead of guardsacdenisSK2017-08-011-9/+7
|
* Clippy and rustfmtacdenisSK2017-08-011-7/+9
|
* Remove the `ext` module and remove a matchacdenisSK2017-08-011-6/+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.
* Reuse `num`acdenisSK2017-07-311-8/+8
|
* Improve `Action`acdenisSK2017-07-311-100/+200
|
* Change the config a bit, and a few nitpicksacdenisSK2017-07-271-73/+73
|
* rustfmtacdenisSK2017-07-271-82/+86
|
* Utilise the newly stabilised loop-with-break-valueacdenisSK2017-07-201-13/+7
|
* Add an actual way to fetch audit log entries from a guildacdenisSK2017-07-201-0/+230