Skip to content

Dayong raises KeyError when trying to greet a new member #33

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
huenique opened this issue Nov 18, 2021 · 0 comments
Open

Dayong raises KeyError when trying to greet a new member #33

huenique opened this issue Nov 18, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@huenique
Copy link
Member

Dayong has an event listener called greet_new_member(). It fires whenever a new member joins the server.

inner_dict = embeddings["greetings_field"][info]

The code above is supposed to retrieve nested objects from the config.json file in the greetings_field key.

Expected result:

Dayong greets the new member in a channel specified in the config.json file.

@huenique huenique added bug Something isn't working help wanted Extra attention is needed labels Nov 18, 2021
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

1 participant