Discussion: Adding Copilot to your GroupMe SMS Conversation

anything to do?

To get Copilot through SMS, or to get GroupMe to like SMS users?

I literally have no patience to fix it but I’ll get to it.

I’ll have to check better but in my really fast check, it seems like copilot messages also don’t get forwarded to a callback URL for a bot you set up. so you can’t just resend everything you the bot gets from copilots uid. It does show up in the group endpoint so you should be able to easily have the bot resend the + message like it currently does, sleep a drop and fetch the latest copilot message (obviously ensuring it’s the right one) and echo it back. Haven’t tested this yet but should work.

I have a lot of GroupMe bots all running to one endpoint on my server with a bot_map (gid: bot) so when I get to it I’ll try…

Your gonna fix shalom Karrs bot?
I know you and @Shalom_Karr are busy so no pressure but if your able to get around because so many people are dependent on it especially now bein hazmanim

Thanks a lot

That’s how I fixed mine. Is sk copilot open source? If yes maybe I’ll make a pr. Unless @Shalom_Karr wants to

Now it is

I will fix if I can

just a note that you can use utilities.sleep for gas because they each get their own run over here with a 6 minute timeout

SK Copilot is now working again

3 Likes

Added a thing to rename it to SK Copilot instead of the whole long listener bot thing

Thanks! Still only works halfway by me, I tried deleting and making a new bot, but didn’t help. It sometimes sends “copilot sent a message…” and then the message, and sometimes only “copilot sent a message…”

@Shalom_Karr I didn’t check your code but you’re probably only sleeping once, checking and if it doesn’t exist yet - forget.

Nope. there is polling for 12 seconds

For 12 secs or every 12?

Every 0.7 seconds for 12 seconds - like the way you recommended

1 Like

Read the README in the repo

I can look into it tomorrow if you want. By me it works every single time. Very possible that with gas taking longer to start, it may be different. Or if some of the runs are being killed in middle… Dunno

Send me your group ID and I will see if its in the bot logs

It can be found here in the url 123456789 would be the group id

https://web.groupme.com/chats/group/123456789

Group ID 115908932

Thanks

Ignored: Sender is bot or ignored ID (912711).

What is that ID? @flipphoneguy what did you do to make sure not to do a repeat loop?

Checking again your group should be working

Idk why your not getting messages back