Skip to content

Commit

Permalink
🐛 Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Maseshi committed May 2, 2024
1 parent 992a3bd commit 0d01e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/events/interactionCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module.exports = {
}

// Set language by type
if (!guildData.language.type || guildData.language.type === 'USER')
if (!guildData?.language.type || guildData?.language.type === 'USER')
changeLanguage(interaction.client, interaction.locale)

// Increase user level
Expand Down

0 comments on commit 0d01e1a

Please sign in to comment.