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

Database/reset: dbresetkey: Cannot give argument to non-function $dbcount #36

Open
l-zeuch opened this issue Sep 19, 2021 · 3 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@l-zeuch
Copy link
Contributor

l-zeuch commented Sep 19, 2021

As I'm not sure what the intention behind that code was, I'm hesitant to open a pull request.
However, this error has been showing up for several users, including me. See the screenshot for a full break down.

image of error

Relevant code:

{{editMessage nil .ExecData.id (cembed "author" (sdict "icon_url" "https://cdn.discordapp.com/emojis/714051544265392229.gif" "name" (print "This might take a while... (" (sub .ExecData.all ($dbcount .ExecData.key)) "/" .ExecData.all ")")) "description" "Please wait until the command is done running.\n**Do not run dbresetkey again until it is finished!**\nYou will be pinged if the reset is done :)" "color" 0xFAA61A)}}

As we can see, it is not an issue on user's end, rather an issue on the code side -- perhaps a missing or slipped parenthesis.

@BlackWolfWoof BlackWolfWoof self-assigned this Sep 19, 2021
@BlackWolfWoof BlackWolfWoof added the bug Something isn't working label Sep 19, 2021
@BlackWolfWoof
Copy link
Owner

For me it works perfectly fine. I have no idea where the error might be. Any idea what could have happened?

@BlackWolfWoof
Copy link
Owner

I mean i know it has to do with .ExecData.key but that is just ($args.Get 0)

BlackWolfWoof pushed a commit that referenced this issue Oct 2, 2021
I dont think this fixs the issue we are having in #36??? But it might idfk
@BlackWolfWoof
Copy link
Owner

Did I ever fix this?
Note to myself check if it is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants