Multipurpose-discord-bot icon indicating copy to clipboard operation
Multipurpose-discord-bot copied to clipboard

Bug report

Open Rocky-pup opened this issue 3 years ago • 6 comments
trafficstars

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

  1. Execute the Command 'rank'
  2. 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: image

Source code: image

Rocky-pup avatar May 03 '22 09:05 Rocky-pup

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

Mikey69YT-BotDeveloper avatar May 05 '22 10:05 Mikey69YT-BotDeveloper

and how does this relate to my topic?

Rocky-pup avatar May 06 '22 06:05 Rocky-pup

Hi, you solved this problem, because I would like you to tell me the solution? Thank you !

riciuuu avatar May 13 '22 23:05 riciuuu

No, i waiting for

Rocky-pup avatar May 14 '22 09:05 Rocky-pup

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. Discord_7aVhKETWN9 Discord_kTSO59vU3O Discord_ZNTxQNmXaD

l0g4n1337 avatar Jun 15 '22 10:06 l0g4n1337

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.

l0g4n1337 avatar Jun 21 '22 04:06 l0g4n1337