diff options
| author | Lakelezz <[email protected]> | 2018-04-04 13:35:16 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2018-04-04 13:35:16 +0200 |
| commit | 7f09642fa66517fc983f63bb2e414638382a6512 (patch) | |
| tree | 962ebd70c403fb1d0a11356e1156e83139207534 /src/utils | |
| parent | Short-circuit on an error (diff) | |
| download | serenity-7f09642fa66517fc983f63bb2e414638382a6512.tar.xz serenity-7f09642fa66517fc983f63bb2e414638382a6512.zip | |
Fix nsfw related docs (#299)
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/utils/mod.rs b/src/utils/mod.rs index 50f6579..002f33f 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -57,10 +57,6 @@ pub fn vecmap_to_json_map<K: PartialEq + ToString>(map: VecMap<K, Value>) -> Map /// This checks that the name is either `"nsfw"` or, for names longer than that, /// is prefixed with `"nsfw"`. /// -/// **Note**: Whether a channel is NSFW is done client-side, as a field for the -/// NSFW-ness of a channel is not sent to clients. Discord's requirements for -/// defining a channel as NSFW can change at any time. -/// /// # Examples /// /// Check that a channel named `"nsfw"` is in fact NSFW: |