Open lexinnit opened 4 years ago
Do you actually see the message your bot has sent after client.send_chat_message(response.group_jid, rules)
runs?
def on_group_status_received
isn't even triggered, just realised that 'Received unknown group message' is thrown for all group statuses.
Joins are in
def on_group_status_received(self, response: chatting.IncomingGroupStatus):
print(Fore.GREEN + "[+] Status message in {}: {}".format(response.group_jid, response.status) + Style.RESET_ALL)
if "has joined" in response.status.lower():
group_id = response.group_jid
@lexinnit Does it still happen? You should look at this code:
https://github.com/tomer8007/kik-bot-api-unofficial/blob/bae0d8d60fe78953d7a203f559174844b6fc621d/kik_unofficial/xmlns_handlers.py#L49
What are the contents of the message you're getting? Why on_group_status_received
is not called for you?
so i'm trying to make it so when a user joins the group the bot sends a message by using this code
but it's throwing a 'Received unknown group message.' error even though IncomingGroupStatus is imported correctly