Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create leaderboards in discord, errors out #19

Closed
LadyHaley opened this issue Jun 1, 2023 · 9 comments
Closed

Cannot create leaderboards in discord, errors out #19

LadyHaley opened this issue Jun 1, 2023 · 9 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@LadyHaley
Copy link

Describe the bug
When I try the leaderboard command, which shows as a registered command in discord, for a leaderboard ive created, it does not work. Discord says its unable to perform the action and i get an error in the server logs.

To Reproduce
Steps to reproduce the behavior:

  1. Create Scoreboard in game
  2. run the learderboard command in discord, I have given the bot the permissions it needs
  3. get told it cant perform the action
  4. error log, two errors for first and second attempt
    [23:26:47 ERROR]: [DiscordSRV] DiscordSRV encountered an unknown Discord error: 10062: Unknown interaction [23:27:30 ERROR]: [DiscordSRV] DiscordSRV encountered an unknown Discord error: 40060: Interaction has already been acknowledged.

Expected behavior
A clear and concise description of what you expected to happen.
Leaderboard gets created

Screenshots
If applicable, add screenshots to help explain your problem.
image
image

Desktop (please complete the following information):

  • OS: Unraid OS running Pufferpanel in a docker container running Java 17 and paper version 540 for the server.

image
image

Additional context
Add any other context about the problem here.

@LadyHaley
Copy link
Author

latest.log
Here is my log file

@ka0un ka0un added bug Something isn't working help wanted Extra attention is needed labels Jun 1, 2023
@ka0un ka0un pinned this issue Jun 1, 2023
@ka0un
Copy link
Owner

ka0un commented Jun 1, 2023

I believe there may have been a misunderstanding. The "leaderboard" slash command in Discord allows you to view exciting leaderboards. To create a new leaderboard in Minecraft, you need to use the "/dl create" command.

@LadyHaley
Copy link
Author

Yee i had done that yesterday. I was seemingly having some unrelated issue that was preventing discordsrv from properly functioning, I have since fixed that issue tho.

I am still having some issues with DL tho.
I have sound a conflict with the plugin DiscordSRVUtils, they both have leaderboard commands and causes issues and does not display correctly in discord.

the second issue im having, which doesnt seem like it affects functionality but i thought i should report anyway.
With DiscordSRVUtils disabled, when using the leaderboard command in the discord server, it seems to correctly create the leader board, by I got this error in my console also, but no error showed in discord
[03:35:46 ERROR]: [DiscordSRV] Slash command "/leaderboard" was not acknowledged by DiscordLeaderboards's handler! The command will show as failed on Discord until this is fixed!

@LadyHaley
Copy link
Author

Just in case this doesnt look right for a default board, here is a picture of the created leaderboard
image

@ka0un
Copy link
Owner

ka0un commented Jun 1, 2023


I am still having some issues with DL tho. I have sound a conflict with the plugin DiscordSRVUtils, they both have leaderboard commands and causes issues and does not display correctly in discord.

  1. The DiscordSRVUtils and DL plugins cannot have the same command active at the same time because they both utilize the same bot through DiscordSRV API. In the next version, I will incorporate functionality to allow for changing the SlashCommand.

the second issue im having, which doesnt seem like it affects functionality but i thought i should report anyway. With DiscordSRVUtils disabled, when using the leaderboard command in the discord server, it seems to correctly create the leader board, by I got this error in my console also, but no error showed in discord [03:35:46 ERROR]: [DiscordSRV] Slash command "/leaderboard" was not acknowledged by DiscordLeaderboards's handler! The command will show as failed on Discord until this is fixed!

  1. The issue you mentioned occurred in the Beta-1.2 version of the plugin. Although it doesn't seem to have any noticeable impact, it will be resolved in the upcoming version.

Thanks for Reporting ! Leaving a Star Will be Grateful <3
also Contact me in Discord KASUN#8971

@LadyHaley
Copy link
Author

Id love to leave a spigot review but im still waiting for the issue preventing me using the plugin from being resolved, any updates on the horizen?

@ka0un
Copy link
Owner

ka0un commented Jun 26, 2023

i have waited for while for stack up new features and bugfixes to next major update.. since you are waiting ill fix this issue and push it as hotfix today.

@ka0un
Copy link
Owner

ka0un commented Jun 27, 2023

i have fixed your issue already working on #20 issue

@ka0un
Copy link
Owner

ka0un commented Jun 28, 2023

fixed with beta 1.3

@ka0un ka0un closed this as completed Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants