-
Notifications
You must be signed in to change notification settings - Fork 30
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
Enable a chat command for one specific group doesn't seem to be working. #43
Comments
can you share how you are using |
I just use your example, where I changed name of group to existing one: After that I have any response till I change it to Here is response from
INFO:root:[Bot] Producer #1 started Here is the log INFO:root:[Raw Message] {"envelope":{"source":"+4987654630","sourceNumber":"+4987654630","sourceUuid":"4c0bfb15-e2fa-","sourceName":"User Imaginary","sourceDevice":1,"timestamp":1705591726026,"typingMessage":{"action":"STARTED","timestamp":1705591726026,"groupId":"8+ufDo1lg2X7I4QtqzRI="}},"account":"+4987654630"} |
just to make sure, on what version of the framework are you? |
On 0.9.2 I just installed it yesterday. |
Oh, can you try typing |
Oh I forgot to say that I changed Command:
But any |
got it. I'll try to reproduce it but it may take a while. Maybe there is something wrong with the current way group names are resolved in the current version. |
Ok sounds good, as I faced this issue I eventually tried |
I may have more context on this. I also face the issue of not receiving messages from groups. I am registering the Ping command like this And the logs reveal the following exception:
|
i think that is a timing-problem: |
Looks to me like the specific issue is that .register checks for _groups_by_name here https://github.com/filipre/signalbot/blob/master/signalbot/bot.py#L158 But that variable isn't populated until |
I am running into this as well but I am not using the name but the actual IDs. It is only ocurring for one of 3 groups (the other 2 work for the same command). I have tried both the internal and group.xx ids with no difference in behavior. Specifying a contact works as well. I am calling register fo the command prior to start (and detect groups). I tried removing and re-adding the bot to the group as well as changing the name/description -- no change there either. Any ideas where to look? |
Enabling a chat command for one specific group doesn't seem to be working. When I use it, I don't receive any messages from that group for the command to which it was applied.
When I enable
groups=True
everything working just fine.The text was updated successfully, but these errors were encountered: