Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com>
  • Loading branch information
suneettipirneni and ImRodry committed Dec 20, 2021
1 parent ba4216e commit b09dfd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structures/Interaction.js
Expand Up @@ -76,13 +76,13 @@ class Interaction extends Base {
this.memberPermissions = data.member?.permissions ? new Permissions(data.member.permissions).freeze() : null;

/**
* The locale of the member who invoked this interaction
* The locale of the user who invoked this interaction
* @type {string}
*/
this.locale = data.locale;

/**
* The preferred locale from the guild this interaction was sent from
* The preferred locale from the guild this interaction was sent in
* @type {?string}
*/
this.guildLocale = data.guild_locale ?? null;
Expand Down

0 comments on commit b09dfd2

Please sign in to comment.