Skip to content

Commit

Permalink
Update stat.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Bes-js authored Jul 6, 2023
1 parent a18b1bd commit cb2542e
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 cb2542e

Please sign in to comment.