ecc521 / gimkit-bot

An answer bot for gimkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Only works in Chrome Devtools

opened this issue · comments

Identifier 'moneyPerQuestion' has already been declared

Did you paste the code twice? This can be remedied by making our variables non constant or encapsulating, but I don't think this is a bug. V8 has some stuff coming up to handle this in devtools.

On Wed, Jan 22, 2020, 1:11 PM 4424dev @.***> wrote: Identifier 'moneyPerQuestion' has already been declared — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#9?email_source=notifications&email_token=AKDVOGZ3DOIDXWE3B2C7FMTQ7CD4JA5CNFSM4KKKGAYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IIA5PXQ>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDVOG233HY6JVJO7MTIEFLQ7CD4JANCNFSM4KKKGAYA .

Sorry, I might have. It didn't work for some reason so I will try it again. I was in a rush and just copied and pasted it.

The real error is 'getEventListeners is not defined'. I'm not sure what it means since I don't really do JS, rather server sided stuff like PHP.

No, I was actually using Eruda (a mobile console) on Chrome. I even tried to paste the code in the URL bar (with comments removed). Inspect is actually disabled for me so does this mean it does not work for me?

Got it.

This issue would really be a different project - it would require browser extensions or a native app. I don't see this changing any time reasonably soon.