Skip to content

Commit

Permalink
1.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasherpete committed Feb 28, 2023
1 parent c1119b7 commit 99c439d
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Custom_Message_protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion commands/Command_Details.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
2 changes: 1 addition & 1 deletion commands/Command_Secret.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@


async def secret_command(msg):
msg.send_sms('*')
msg.send_sms('Sub or go bald bit.ly/sub2jopes')
29 changes: 15 additions & 14 deletions commands/Command_Weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
4 changes: 2 additions & 2 deletions commands/Command_bulletin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, "
Expand Down

0 comments on commit 99c439d

Please sign in to comment.