Fixed stats code
This commit is contained in:
parent
705be85b37
commit
d40446bec7
2
index.js
2
index.js
|
@ -426,7 +426,7 @@ bot.onText(/^\/stats/, async msg => {
|
||||||
for(let same of sameKarma) {
|
for(let same of sameKarma) {
|
||||||
if (i < 6) {
|
if (i < 6) {
|
||||||
if(same.uid != user.uid) {
|
if(same.uid != user.uid) {
|
||||||
sameMessage += ` \\- *${markdowned(same.username)}*\n`
|
sameMessage += ` \\- *${markdowned(same.full_name)}*\n`
|
||||||
i += 1
|
i += 1
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue