Skip to content

Commit eb58d20

Browse files
authored
updates
1 parent bc5e193 commit eb58d20

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "snailpy"
7-
version = "1.0.9"
7+
version = "1.1.0"
88
dependencies = [
99
"requests",
1010
]
11-
requires-python = ">=3.7"
11+
requires-python = ">=3.8"
1212
authors = [
1313
{name = "Nolan Simpson", email = "nmsderp@gmail.com"},
1414
]

snailpy/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
from .snailpy import *
44

5-
print('You are successfully using SnailPy v1.0.9!')
5+
print('You are successfully using SnailPy v1.1.0!')
6+
print('Anything made with 1.0.9 or under will most likely be broken due to server changes and the data loss.')

snailpy/snailpy.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import requests
22

3-
api_url = 'https://snailshare.xyz'
3+
v = "1.1.0"
4+
api_url = 'https://snailshare.dreamhosters.com'
45

56
def customAPI(url):
67
global api_url
@@ -66,3 +67,5 @@ def id_to_owner(args):
6667
except Exception as e:
6768
print(f"An error occurred: {e}")
6869
return ""
70+
def version():
71+
print(v)

0 commit comments

Comments
 (0)