Skip to content

'ladder' function not working #2

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

Open
teknofile opened this issue Jun 4, 2025 · 0 comments
Open

'ladder' function not working #2

teknofile opened this issue Jun 4, 2025 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@teknofile
Copy link
Member

Failed to run listener function (error: list indices must be integers or slices, not str)
Traceback (most recent call last):
  File "/home/teknofile/OpsBot/.venv/lib/python3.12/site-packages/slack_bolt/listener/thread_runner.py", line 120, in run_ack_function_asynchronously
    listener.run_ack_function(request=request, response=response)
  File "/home/teknofile/OpsBot/.venv/lib/python3.12/site-packages/slack_bolt/listener/custom_listener.py", line 50, in run_ack_function
    return self.ack_function(
           ^^^^^^^^^^^^^^^^^^
  File "/home/teknofile/OpsBot/app.py", line 183, in message_default
    leaderboard_msg += f"<@{leader['recipient']}>: {leader['carrots']} {PLURAL}\n"
                            ~~~~~~^^^^^^^^^^^^^
TypeError: list indices must be integers or slices, not str```
@teknofile teknofile self-assigned this Jun 4, 2025
@teknofile teknofile added bug Something isn't working enhancement New feature or request labels Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant