eibex/reaction-light

missing brackets in database.py

starlightknown opened this issue · 4 comments

Describe the bug

I was running this on my server, it was going smooth until I noticed this error in code.

rec

I would not like trespass here but to contribute, I would like to make the small change needed :)

Hey! I don't see any issues with the code snippet you have provided, could you elaborate?

that should be ["reactionrole_id"] and not reactionrole_id right?

d7415 commented

that should be ["reactionrole_id"] and not reactionrole_id right?

No. reactionrole_id is defined a few lines earlier. ["reactionrole_id"] is just a single-item list containing that string.

oops sorry then, my mistake. I'll close it. Sorry again