Skip to content

Commit

Permalink
feat(Permissions): add :view_guild_insights permission (#11)
Browse files Browse the repository at this point in the history
* feat(Permissions): add new :view_server_analytics permission

* docs(Permissions): add :view_server_analytics to t:name/0

* feat(Permissions): rename permission to VIEW_GUILD_INSIGHTS
  • Loading branch information
SpaceEEC authored Apr 14, 2020
1 parent eb1f55b commit 3646a76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/structs/permissions.ex
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ defmodule Crux.Structs.Permissions do
read_message_history: 1 <<< 16,
mention_everyone: 1 <<< 17,
use_external_emojis: 1 <<< 18,
# 19
view_guild_insights: 1 <<< 19,
connect: 1 <<< 20,
speak: 1 <<< 21,
mute_members: 1 <<< 22,
Expand Down Expand Up @@ -93,6 +93,7 @@ defmodule Crux.Structs.Permissions do
| :read_message_histroy
| :mention_everyone
| :use_external_emojis
| :view_guild_insights
| :connect
| :speak
| :mute_members
Expand Down

0 comments on commit 3646a76

Please sign in to comment.