Skip to content

Commit

Permalink
Update stat.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Bes-js committed Jul 5, 2023
1 parent 4e69d14 commit 35241fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Supervisor/src/beş_commands/Stat Komutları/stat.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
let kadın = await db.get(`kadın-${member.id}`) || 0;

const category = async (parentsArray) => {
const data = await voiceUserParent.find({ guildID: message.guild.id, userID: member.user.id });
const data = await voiceUserParent.find({ guildId: message.guild.id, userID: member.user.id });
const voiceUserParentData = data.filter((x) => parentsArray.includes(x.parentID));
let voiceStat = 0;
for (var i = 0; i <= voiceUserParentData.length; i++) { voiceStat += voiceUserParentData[i] ? voiceUserParentData[i].parentData : 0; }
Expand Down

0 comments on commit 35241fc

Please sign in to comment.