Jump to content
UBot Underground

Twillio SMS - No Plugin


Recommended Posts

copy and paste into ubot Node view

Install Python Plugin (ExecutePython.dll) to ubot

Update %appdata% ubot \ python \ with newer version

comment("Create a new file and add the below into the file and save the file as  batch_create_sms.bat


@echo off
set TWILIO_ACCOUNT_SID=AC325b0e
set TWILIO_AUTH_TOKEN=77ea6
\"D:\\Python\\python.exe\" \"D:\\batch_create_sms.py\"")
SEND_SMS()
define SEND_SMS {
    set(#create_python_sms,"from twilio.rest import Client


# Find your Account SID and Auth Token at twilio.com/console
# and set the environment variables. See http://twil.io/secure
account_sid = \"AC3b0e\"
auth_token = \"775ea6\"
client = Client(account_sid, auth_token)

message = client.messages.create(
                              body=\'New Boost Booking - {#account_fname} {#account_lname} @ {#booking_time}, {#booking_date}, {#occasion}\',
                              from_=\'+691\',
                              to=\'+6383\'
                          )

print(message.sid)","Global")
    save to file("D:\\batch_create_sms.py",#create_python_sms)
    shell("D:\\batch_create_sms.bat")
}

 

Link to post
Share on other sites

Hi Seth, I have developer was aware of this but was having trouble with it executing of code

Can you please show an example code

Thanks

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...