Multipurpose-discord-bot
Multipurpose-discord-bot copied to clipboard
Bug report
What's your nodejs Version.
16.14.0
What's the version you downloaded the bot?
latest sharded-mongo
Desktop (please complete the following information):
- OS: windows 8.1
- Version latest
Describe the bug
in command rank in voicerank section rank: always 0, milrato bot have same(see screenshot)
To Reproduce
- Execute the Command 'rank'
- See uncorrect information in voicerankk section
Expected behavior
after Rank: line need to be rank in leaderboard, not 0
Additional context, text and screenshots!
Milrato:
Source code:
let channel = guild.channels.cache.get(client.musicsettings.get(player.guild, "channel")); ^^^
SyntaxError: Lexical declaration cannot appear in a single-statement context at Object.compileFunction (node:vm:352:18) at wrapSafe (node:internal/modules/cjs/loader:1033:15) at Module._compile (node:internal/modules/cjs/loader:1069:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18)
I have that error and I can't solve it
and how does this relate to my topic?
Hi, you solved this problem, because I would like you to tell me the solution? Thank you !
No, i waiting for
I have the same problem too.
Then I add that, after setting up a channel for ranking, when someone does a level up they are not posted in the channel I have chosen, but they are posted in the ch where the user writes.

So, I tried the "main branch" and the above problems (voice rank and the problem that the bot does not place levelups in the assigned channel) are solved.
However, compared to the sharded version it has some problems with the leaderboard. Or to be more specific, it's not really a problem. When the leaderboard is requested, 3 tables are published, one that counts the messages, one that counts the time and another that repeats the first. for text statistics only. Now it would only be appropriate if Tomato could take what works from both of them and fix all 2 branches making them the same and working.
In the meantime, I'll try to make some attempts.

