diff --git a/Custom_Message_protocols.py b/Custom_Message_protocols.py index 1da435e..95b4205 100644 --- a/Custom_Message_protocols.py +++ b/Custom_Message_protocols.py @@ -49,7 +49,7 @@ def send_sms(content, msg): for message in list_response: - time.sleep(3) + time.sleep(4) try: msg.send_sms(message) diff --git a/README.md b/README.md index 6326975..9c37749 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,9 @@ if PyTextNow does not work or an incorrect version installs, use certain characters. This includes quotation marks and the reverse backslash (so you cannot use \n). The program deals with this by inserting multiple spaces instead of \n, and * instead of ". # Versions and Updates + 1.4.5 - Added bug fixes that make service look like spam. Weather responses are put in one single message and when + long texts are broken up, they now get sent at an interval of four. + 1.4.43 - Minor updates to admin, bulletin, gpt, translate commands and added error correction. 1.4.4 - Updated dictionary command diff --git a/commands/Command_Details.py b/commands/Command_Details.py index cd2f35d..7b8fb5c 100644 --- a/commands/Command_Details.py +++ b/commands/Command_Details.py @@ -12,4 +12,4 @@ async def details_command(msg): # TODO: update version number when new release is made - msg.send_sms("This service is being hosted and developed by @Kasherpete#2661, @Jopes#6969 <--(Idiot), and @SpaceSaver2000#2992. Message them on discord for any questions/feedback. Thanks to SpaceSaver for hosting the service, Kasherpete for adding ChatGPT, translate and other commands, and jopes for having and creating the original idea, this would not be possible without their help. If you have a suggestion or question, feel free to message (629) 240-4333. Version 1.4.43") + msg.send_sms("This service is being hosted and developed by @Kasherpete#2661, @Jopes#6969 <--(Idiot), and @SpaceSaver2000#2992. Message them on discord for any questions/feedback. Thanks to SpaceSaver for hosting the service, Kasherpete for adding ChatGPT, translate and other commands, and jopes for having and creating the original idea, this would not be possible without their help. If you have a suggestion or question, feel free to message (629) 240-4333. Version 1.4.5") diff --git a/commands/Command_Secret.py b/commands/Command_Secret.py index 50e3a67..d39418b 100644 --- a/commands/Command_Secret.py +++ b/commands/Command_Secret.py @@ -10,4 +10,4 @@ async def secret_command(msg): - msg.send_sms('*') \ No newline at end of file + msg.send_sms('Sub or go bald bit.ly/sub2jopes') \ No newline at end of file diff --git a/commands/Command_Weather.py b/commands/Command_Weather.py index 07f883f..f45cc7b 100644 --- a/commands/Command_Weather.py +++ b/commands/Command_Weather.py @@ -56,20 +56,21 @@ async def weather_command(msg): weather_description = z[0]["description"] # return data to the user - - msg.send_sms("Weather in " + str(f"{city_name}, {state_code}:")) - await asyncio.sleep(1) - - msg.send_sms(str(weather_description)) - await asyncio.sleep(1) - - msg.send_sms("Temperature: " + str(current_temperature) + "\u00B0\u0046") - await asyncio.sleep(1) - - msg.send_sms("Air Pressure: " + str(current_pressure) + "hpa") - await asyncio.sleep(1) - - msg.send_sms("Humidity: " + str(current_humidity) + "%") + msg.send_sms(f"Weather in {str(city_name)}, {str(state_code)}: {str(weather_description)}. Temp: {str(current_temperature)}\u00B0\u0046. Air pressure: {current_pressure}hpa. Humidity: {str(current_humidity)}%.") + await asyncio.sleep(2) + msg.send_sms("As an added reminder, text !help to see new commands. You can also send @gabb01 to 81010 to " + "sign up to receive updates that come out.") + + # #msg.send_sms(str(weather_description)) + # #await asyncio.sleep(1) + # + # msg.send_sms("Temperature: " + str(current_temperature) + "\u00B0\u0046") + # await asyncio.sleep(1) + # + # msg.send_sms("Air Pressure: " + str(current_pressure) + "hpa") + # await asyncio.sleep(1) + # + # msg.send_sms("Humidity: " + str(current_humidity) + "%") else: error1 = "ERROR:WEATHER_NO_RESPONSE. Please check that you entered the correct city, or say !status to check the weather server's status." diff --git a/commands/Command_bulletin.py b/commands/Command_bulletin.py index 9beb882..db3fa33 100644 --- a/commands/Command_bulletin.py +++ b/commands/Command_bulletin.py @@ -2,11 +2,11 @@ def bulletin_command(msg): - send_sms("Current progress and news: Version 1.4.4 is now here! Send @gabb01 to 81010 to receive " + send_sms("Current progress and news: Version 1.4.5 is now here! Send @gabb01 to 81010 to receive " "announcements for future updates. Due to a large amount of requests, the translator command may not " "work, so we are working on a fix for it, thank you for your patience! The prompt limit for GPT-3 is now " "200 compared to the previous 80, and GPT-3's response limit is now 450 compared to the previous 150 in " - "version 1.4.43. CSS games have also been " + "version 1.4.5. CSS games have also been " "found to be able to work on the Gabb phone, " "so we are currently working on making a library of downloadable games for it. We are also looking " "into adding memes, google maps, and Discord. If you have any suggestions or bug reports, "