Skip to content

Commit

Permalink
v4.1.0 Update - Localization support for DMs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayaan-Govil authored Jan 11, 2021
1 parent 11e23cb commit 45fa5f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/results.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ module.exports = {
}
}
}
let guildID;
message.guild === null ? guildID = '' : guildID = message.guild.id;
let guildID = '';
!message.guild ? guildID = message.channel.id : guildID = message.guild.id;
timezoneModel.find({
guildid: guildID
}, function (err, result) {
Expand Down

0 comments on commit 45fa5f0

Please sign in to comment.