Skip to content

Commit

Permalink
fix: replace VIEW_GUILD_ANALYTICS with VIEW_GUILD_INSIGHTS (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaaz authored Mar 19, 2020
1 parent 4907792 commit 4bd9b1a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions src/Libraries/discordjs/lib/DjsEnums.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const EVENTS = {
* READ_MESSAGE_HISTORY: 'READ_MESSAGE_HISTORY',
* MENTION_EVERYONE: 'MENTION_EVERYONE',
* USE_EXTERNAL_EMOJIS: 'USE_EXTERNAL_EMOJIS',
* VIEW_GUILD_ANALYTICS: 'VIEW_GUILD_ANALYTICS',
* VIEW_GUILD_INSIGHTS: 'VIEW_GUILD_INSIGHTS',
* CONNECT: 'CONNECT',
* SPEAK: 'SPEAK',
* MUTE_MEMBERS: 'MUTE_MEMBERS',
Expand Down Expand Up @@ -140,7 +140,7 @@ export const DISCORD_LIB_PERMISSIONS = {
READ_MESSAGE_HISTORY: 'READ_MESSAGE_HISTORY',
MENTION_EVERYONE: 'MENTION_EVERYONE',
USE_EXTERNAL_EMOJIS: 'USE_EXTERNAL_EMOJIS',
VIEW_GUILD_ANALYTICS: 'VIEW_GUILD_ANALYTICS',
VIEW_GUILD_INSIGHTS: 'VIEW_GUILD_INSIGHTS',
CONNECT: 'CONNECT',
SPEAK: 'SPEAK',
MUTE_MEMBERS: 'MUTE_MEMBERS',
Expand Down Expand Up @@ -175,7 +175,7 @@ export const DISCORD_LIB_PERMISSIONS = {
'READ_MESSAGE_HISTORY',
'MENTION_EVERYONE',
'USE_EXTERNAL_EMOJIS',
'VIEW_GUILD_ANALYTICS',
'VIEW_GUILD_INSIGHTS',
'CONNECT',
'SPEAK',
'MUTE_MEMBERS',
Expand Down Expand Up @@ -209,7 +209,7 @@ export const PERMISSIONS = [
'READ_MESSAGE_HISTORY',
'MENTION_EVERYONE',
'USE_EXTERNAL_EMOJIS',
'VIEW_GUILD_ANALYTICS',
'VIEW_GUILD_INSIGHTS',
'CONNECT',
'SPEAK',
'MUTE_MEMBERS',
Expand Down Expand Up @@ -244,7 +244,7 @@ export const PERMISSIONS = [
* READ_MESSAGE_HISTORY: 'Read Message History',
* MENTION_EVERYONE: 'Mention Everyone',
* USE_EXTERNAL_EMOJIS: 'External Emojis',
* VIEW_GUILD_ANALYTICS: 'View Guild Analytics',
* VIEW_GUILD_INSIGHTS: 'View Guild Insights',
* CONNECT: 'Voice Connect',
* SPEAK: 'Voice Speak',
* MUTE_MEMBERS: 'Voice Mute Members',
Expand Down Expand Up @@ -278,7 +278,7 @@ export const PERMISSIONS_NAMES = {
READ_MESSAGE_HISTORY: 'Read Message History',
MENTION_EVERYONE: 'Mention Everyone',
USE_EXTERNAL_EMOJIS: 'External Emojis',
VIEW_GUILD_ANALYTICS: 'View Guild Analytics',
VIEW_GUILD_INSIGHTS: 'View Guild Insights',
CONNECT: 'Voice Connect',
SPEAK: 'Voice Speak',
MUTE_MEMBERS: 'Voice Mute Members',
Expand Down
12 changes: 6 additions & 6 deletions src/Libraries/eris/lib/ErisEnums.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const EVENTS = {
* READ_MESSAGE_HISTORY: 'readMessageHistory'
* MENTION_EVERYONE: 'mentionEveryone'
* USE_EXTERNAL_EMOJIS: 'externalEmojis'
* VIEW_GUILD_ANALYTICS: 'viewGuildAnalytics'
* VIEW_GUILD_INSIGHTS: 'viewGuildInsights'
* CONNECT: 'voiceConnect'
* SPEAK: 'voiceSpeak'
* MUTE_MEMBERS: 'voiceMuteMembers'
Expand Down Expand Up @@ -140,7 +140,7 @@ export const DISCORD_LIB_PERMISSIONS = {
READ_MESSAGE_HISTORY: 'readMessageHistory',
MENTION_EVERYONE: 'mentionEveryone',
USE_EXTERNAL_EMOJIS: 'externalEmojis',
VIEW_GUILD_ANALYTICS: 'viewGuildAnalytics',
VIEW_GUILD_INSIGHTS: 'viewGuildInsights',
CONNECT: 'voiceConnect',
SPEAK: 'voiceSpeak',
MUTE_MEMBERS: 'voiceMuteMembers',
Expand Down Expand Up @@ -175,7 +175,7 @@ export const DISCORD_LIB_PERMISSIONS = {
'readMessageHistory',
'mentionEveryone',
'externalEmojis',
'viewGuildAnalytics',
'viewGuildInsights',
'voiceConnect',
'voiceSpeak',
'voiceMuteMembers',
Expand Down Expand Up @@ -209,7 +209,7 @@ export const PERMISSIONS = [
'readMessageHistory',
'mentionEveryone',
'externalEmojis',
'viewGuildAnalytics',
'viewGuildInsights',
'voiceConnect',
'voiceSpeak',
'voiceMuteMembers',
Expand Down Expand Up @@ -244,7 +244,7 @@ export const PERMISSIONS = [
* readMessageHistory: 'Read Message History'
* mentionEveryone: 'Mention Everyone'
* externalEmojis: 'External Emojis'
* viewGuildAnalytics: 'View Guild Analytics'
* viewGuildInsights: 'View Guild Insights'
* voiceConnect: 'Voice Connect'
* voiceSpeak: 'Voice Speak'
* voiceMuteMembers: 'Voice Mute Members'
Expand Down Expand Up @@ -279,7 +279,7 @@ export const PERMISSIONS_NAMES = {
readMessageHistory: 'Read Message History',
mentionEveryone: 'Mention Everyone',
externalEmojis: 'External Emojis',
viewGuildAnalytics: 'View Guild Analytics',
viewGuildInsights: 'View Guild Insights',
voiceConnect: 'Voice Connect',
voiceSpeak: 'Voice Speak',
voiceMuteMembers: 'Voice Mute Members',
Expand Down
8 changes: 4 additions & 4 deletions src/Utility/Constants/DiscordEnums.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const DISCORD_GATEWAY_EVENTS = [
'READ_MESSAGE_HISTORY',
'MENTION_EVERYONE',
'USE_EXTERNAL_EMOJIS',
'VIEW_GUILD_ANALYTICS',
'VIEW_GUILD_INSIGHTS',
'CONNECT',
'SPEAK',
'MUTE_MEMBERS',
Expand Down Expand Up @@ -146,7 +146,7 @@ export const DISCORD_PERMISSIONS = [
'READ_MESSAGE_HISTORY',
'MENTION_EVERYONE',
'USE_EXTERNAL_EMOJIS',
'VIEW_GUILD_ANALYTICS',
'VIEW_GUILD_INSIGHTS',
'CONNECT',
'SPEAK',
'MUTE_MEMBERS',
Expand Down Expand Up @@ -181,7 +181,7 @@ export const DISCORD_PERMISSIONS = [
* READ_MESSAGE_HISTORY: 65536
* MENTION_EVERYONE: 131072
* USE_EXTERNAL_EMOJIS: 262144
* VIEW_GUILD_ANALYTICS: 524288
* VIEW_GUILD_INSIGHTS: 524288
* CONNECT: 1048576
* SPEAK: 2097152
* MUTE_MEMBERS: 4194304
Expand Down Expand Up @@ -218,7 +218,7 @@ export const PERMISSIONS_NUMBERS = {
READ_MESSAGE_HISTORY: 1 << 16,
MENTION_EVERYONE: 1 << 17,
USE_EXTERNAL_EMOJIS: 1 << 18,
VIEW_GUILD_ANALYTICS: 1 << 19,
VIEW_GUILD_INSIGHTS: 1 << 19,
CONNECT: 1 << 20,
SPEAK: 1 << 21,
MUTE_MEMBERS: 1 << 22,
Expand Down

0 comments on commit 4bd9b1a

Please sign in to comment.