# Copilot bot for GroupMe SMS

**URL:** https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082
**Category:** Software & tools
**Tags:** SMS-and-MMS, bots, AI, LLM
**Created:** [August 14, 2025, 1:10pm UTC](https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082 "2025-08-14T13:10:20Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Dev-in-the-BM\_2.0](https://jtechforums.org/user_avatar/jtechforums.org/dev-in-the-bm_2.0/32/969_2.png) [@Dev-in-the-BM\_2.0](https://jtechforums.org/u/Dev-in-the-BM_2.0)
#### Post date: [August 14, 2025, 1:10pm UTC](https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082/1 "2025-08-14T13:10:20Z")

</div>

> [@Top SMS Tools and Hotlines](https://jtechforums.org/t/top-sms-tools-and-hotlines/1726/43):
>
> # Copilot via SMS
> 
> ### _Microsofts Artificial Unintelligence finally isn’t useless anymore._
> 
> **Chat with Copilot** via GroupMe text, and **generate images** that will be emailed to your phone number via **SMS gateway**.
> 
> [https://copilotimage.netlify.app](https://copilotimage.netlify.app)
> 
> The site will **generate a script** for you, and will guide you through **deploying it on Google Scripts** , and **creating a GroupMe bot**.
> 
> I’m pretty sure it filters the pictures, if anyone tries it out, let us know.
> 
> Thank you to @Shalom_Karr for creating the script and site.

Just opening a thread for this bot.

---

<div class="post-metadata">

### Author: ![Shalom\_Karr](https://jtechforums.org/user_avatar/jtechforums.org/shalom_karr/32/8264_2.png) [@Shalom\_Karr](https://jtechforums.org/u/Shalom_Karr)
#### Post date: [August 10, 2025, 3:38am UTC](https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082/2 "2025-08-10T03:38:25Z")

</div>

Hey @flipphoneguy and @Dev-in-the-BM_2.0

The way I made the Colpilot Bot was by having the script repeat the message if there is a + sign and had that mention copilot with a Loci Attachment mentioning the Copilot User ID (128934125)

Note the repeat does not have to say Copilot

You can send me an email if you have any questions

---

<div class="post-metadata">

### Author: ![Shalom\_Karr](https://jtechforums.org/user_avatar/jtechforums.org/shalom_karr/32/8264_2.png) [@Shalom\_Karr](https://jtechforums.org/u/Shalom_Karr)
#### Post date: [August 10, 2025, 3:38am UTC](https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082/3 "2025-08-10T03:38:43Z")

</div>

The only thing is that its running in JavaScript and not python, I am sure Ai can convert it for you though

---

<div class="post-metadata">

### Author: ![Shalom\_Karr](https://jtechforums.org/user_avatar/jtechforums.org/shalom_karr/32/8264_2.png) [@Shalom\_Karr](https://jtechforums.org/u/Shalom_Karr)
#### Post date: [August 13, 2025, 1:36am UTC](https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082/4 "2025-08-13T01:36:00Z")

</div>

Hey, New update to the Copilot Ai bot - The images are now working and Removed one of the steps from the process. Detailed instructions are on [https://copilotimages.netlify.app/](https://copilotimages.netlify.app/) DM me with any questions.

New thing is that a + is no longer required to text ai but if you don’t want ai to reply start with an @ symbol

---

<div class="post-metadata">

### Author: ![flipphoneguy](https://jtechforums.org/user_avatar/jtechforums.org/flipphoneguy/32/11165_2.png) [@flipphoneguy](https://jtechforums.org/u/flipphoneguy)
#### Post date: [August 13, 2025, 3:30am UTC](https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082/5 "2025-08-13T03:30:46Z")

</div>

I never updated from the old one and pictures are still working great and being sent to my email.

---

<div class="post-metadata">

### Author: ![Shalom\_Karr](https://jtechforums.org/user_avatar/jtechforums.org/shalom_karr/32/8264_2.png) [@Shalom\_Karr](https://jtechforums.org/u/Shalom_Karr)
#### Post date: [August 13, 2025, 5:43am UTC](https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082/6 "2025-08-13T05:43:45Z")

</div>

Oh, did you change the script at all or you went with the auto generated one from the website?

Additionally did you use the advanced section of the form or you left that part empty?

---

<div class="post-metadata">

### Author: ![flipphoneguy](https://jtechforums.org/user_avatar/jtechforums.org/flipphoneguy/32/11165_2.png) [@flipphoneguy](https://jtechforums.org/u/flipphoneguy)
#### Post date: [August 13, 2025, 2:26pm UTC](https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082/7 "2025-08-13T14:26:53Z")

</div>

I didn’t use advanced and didn’t modify the script.

---

<div class="post-metadata">

### Author: ![Shalom\_Karr](https://jtechforums.org/user_avatar/jtechforums.org/shalom_karr/32/8264_2.png) [@Shalom\_Karr](https://jtechforums.org/u/Shalom_Karr)
#### Post date: [August 17, 2025, 4:30pm UTC](https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082/8 "2025-08-17T16:30:12Z")

</div>

That is interesting because my personal one stopped working as well as multiple other I think @Dev-in-the-BM_2.0 also was not working if I recall correctly, Not sure why

---

<div class="post-metadata">

### Author: ![Shalom\_Karr](https://jtechforums.org/user_avatar/jtechforums.org/shalom_karr/32/8264_2.png) [@Shalom\_Karr](https://jtechforums.org/u/Shalom_Karr)
#### Post date: [August 28, 2025, 8:57pm UTC](https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082/9 "2025-08-28T20:57:20Z")

</div>

I am working on making a New Integration which involves simply OAuth to your GroupMe account, and your group gets created Automatically and you can text AI. When I am done, I will update everyone.

This version will not involve Images though unless there is someone that wants to make a workspace account that can handle emailing the images to everyone.

---

<div class="post-metadata">

### Author: ![flipphoneguy](https://jtechforums.org/user_avatar/jtechforums.org/flipphoneguy/32/11165_2.png) [@flipphoneguy](https://jtechforums.org/u/flipphoneguy)
#### Post date: [July 5, 2026, 7:52pm UTC](https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082/10 "2026-07-05T19:52:07Z")

</div>

In case anyone noticed, copilot sms bots broke. All they achieved was getting the message to Copilot and the response would just automatically get delivered to SMS users just like any user or bot message.

This stopped working cuz GroupMe started sending to SMS users “Copilot sent a message. View it here: link” instead of the actual message. Copilot responses also don’t get sent to your webhook in a bot, do you can’t just have the bot echo back any message with copilot’s UID.

I fixed this by having my script resend messages that start with “+” as user mentioning Copilot like till now, wait 2 seconds (from my testing it took between 2+ to 3+ seconds till AI responds), poll every 0.7 seconds (up to 10s) the messages endpoint using the same UID you use to mention Copilot till you get the copilot response, and then echo it back when it arrives.

I’m providing the code I dumped into my bot for context. If you’re not using python, this won’t be extremely helpful but maybe something

```python
COPILOT_FIRST_DELAY = 2.0
COPILOT_POLL_INTERVAL = 0.7
COPILOT_POLL_DEADLINE = 12 # give up after this many seconds

def schedule_copilot_echo(token, group_id, bot_id, since_id):
    if not (token and bot_id and since_id):
        return
    deadline = time.time() + COPILOT_POLL_DEADLINE
    threading.Timer(COPILOT_FIRST_DELAY, _poll_copilot_echo, args=(token, group_id, bot_id, since_id, deadline)).start()

def _poll_copilot_echo(token, group_id, bot_id, since_id, deadline):
    try:
        r = requests.get(f"https://api.groupme.com/v3/groups/{group_id}/messages", params={"token": token, "since_id": since_id, "limit": 20})
        msgs = r.json().get("response", {}).get("messages", []) if r.ok else []
        cop = sorted([m for m in msgs if m.get("user_id") == COPILOT_UID], key=lambda m: m["created_at"])
        if cop:
            bot_send(bot_id, cop[0].get("text"))
            return
    except Exception:
        pass
    if time.time() < deadline:
        threading.Timer(COPILOT_POLL_INTERVAL, _poll_copilot_echo, args=(token, group_id, bot_id, since_id, deadline)).start()

```

The `since_id` is taken from my user\_send function (which sends a message as a user and can also mention) which returns the following after making a request to send a message

```python
return response.json()['response']['message']['id']

```

You should make sure you use threading in python or whatever your language offers rather then just sleeping cuz sleeping is a waste of time 😂

If you just paste this into AI, it should be able to spit out some js for gas. @Shalom_Karr you may wanna fix your bot.

---

<div class="post-metadata">

### Author: ![Shalom\_Karr](https://jtechforums.org/user_avatar/jtechforums.org/shalom_karr/32/8264_2.png) [@Shalom\_Karr](https://jtechforums.org/u/Shalom_Karr)
#### Post date: [July 5, 2026, 7:58pm UTC](https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082/11 "2026-07-05T19:58:21Z")

</div>

> [@flipphoneguy](#):
>
> You should make sure you use threading in python or whatever your language offers rather then just sleeping cuz sleeping is a waste of time 😂
> 
> If you just paste this into AI, it should be able to spit out some js for gas. @Shalom_Karr you may wanna fix your bot.

One day - thanks though - will bookmark this to remind me in a few weeks

---

<div class="post-metadata">

### Author: ![mufandchush](https://jtechforums.org/user_avatar/jtechforums.org/mufandchush/32/2551_2.png) [@mufandchush](https://jtechforums.org/u/mufandchush)
#### Post date: [July 5, 2026, 11:52pm UTC](https://jtechforums.org/t/copilot-bot-for-groupme-sms/4082/12 "2026-07-05T23:52:27Z")

</div>

When you do it will it get updated to old bots or I will have create a new bot?
