diff options
| author | Erk- <[email protected]> | 2018-08-09 20:34:33 +0200 |
|---|---|---|
| committer | zeyla <[email protected]> | 2018-08-09 11:34:33 -0700 |
| commit | 40053a71931bb63c43eb6f469ee3c94383c9e90a (patch) | |
| tree | 79c2fabc1229d0543205bc6daf8ebebc6ebc9755 /src/model/permissions.rs | |
| parent | [routing] Fix various incorrect routes. (#364) (diff) | |
| download | serenity-40053a71931bb63c43eb6f469ee3c94383c9e90a.tar.xz serenity-40053a71931bb63c43eb6f469ee3c94383c9e90a.zip | |
Fix all the dead links in the docs
Diffstat (limited to 'src/model/permissions.rs')
| -rw-r--r-- | src/model/permissions.rs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/model/permissions.rs b/src/model/permissions.rs index 8e45620..784071e 100644 --- a/src/model/permissions.rs +++ b/src/model/permissions.rs @@ -164,35 +164,35 @@ __impl_bitflags! { Permissions: u64 { /// Allows for the creation of [`RichInvite`]s. /// - /// [`RichInvite`]: ../struct.RichInvite.html + /// [`RichInvite`]: ../invite/struct.RichInvite.html CREATE_INVITE = 0b0000_0000_0000_0000_0000_0000_0000_0001; /// Allows for the kicking of guild [member]s. /// - /// [member]: ../struct.Member.html + /// [member]: ../guild/struct.Member.html KICK_MEMBERS = 0b0000_0000_0000_0000_0000_0000_0000_0010; /// Allows the banning of guild [member]s. /// - /// [member]: ../struct.Member.html + /// [member]: ../guild/struct.Member.html BAN_MEMBERS = 0b0000_0000_0000_0000_0000_0000_0000_0100; /// Allows all permissions, bypassing channel [permission overwrite]s. /// - /// [permission overwrite]: ../struct.PermissionOverwrite.html + /// [permission overwrite]: ../channel/struct.PermissionOverwrite.html ADMINISTRATOR = 0b0000_0000_0000_0000_0000_0000_0000_1000; /// Allows management and editing of guild [channel]s. /// - /// [channel]: ../struct.GuildChannel.html + /// [channel]: ../channel/struct.GuildChannel.html MANAGE_CHANNELS = 0b0000_0000_0000_0000_0000_0000_0001_0000; /// Allows management and editing of the [guild]. /// - /// [guild]: ../struct.Guild.html + /// [guild]: ../guild/struct.Guild.html MANAGE_GUILD = 0b0000_0000_0000_0000_0000_0000_0010_0000; /// [`Member`]s with this permission can add new [`Reaction`]s to a /// [`Message`]. Members can still react using reactions already added /// to messages without this permission. /// - /// [`Member`]: ../struct.Member.html - /// [`Message`]: ../struct.Message.html - /// [`Reaction`]: ../struct.Reaction.html + /// [`Member`]: ../guild/struct.Member.html + /// [`Message`]: ../channel/struct.Message.html + /// [`Reaction`]: ../channel/struct.Reaction.html ADD_REACTIONS = 0b0000_0000_0000_0000_0000_0000_0100_0000; /// Allows viewing a guild's audit logs. VIEW_AUDIT_LOG = 0b0000_0000_0000_0000_0000_0000_1000_0000; @@ -243,8 +243,8 @@ __impl_bitflags! { /// /// If this is disabled, then [`Member`]s must use push-to-talk. /// - /// [`Member`]: ../struct.Member.html - /// [voice]: ../enum.ChannelType.html#variant.Voice + /// [`Member`]: ../guild/struct.Member.html + /// [voice]: ../channel/enum.ChannelType.html#variant.Voice USE_VAD = 0b0000_0010_0000_0000_0000_0000_0000_0000; /// Allows members to change their own nickname in the guild. CHANGE_NICKNAME = 0b0000_0100_0000_0000_0000_0000_0000_0000; @@ -257,7 +257,7 @@ __impl_bitflags! { /// Allows management of emojis created without the use of an /// [`Integration`]. /// - /// [`Integration`]: ../struct.Integration.html + /// [`Integration`]: ../guild/struct.Integration.html MANAGE_EMOJIS = 0b0100_0000_0000_0000_0000_0000_0000_0000; } } |