master
Aevann1 2021-08-31 22:46:04 +02:00
parent e8843cf1a2
commit d60e7f0542
2 changed files with 3 additions and 1 deletions

View File

@ -29,7 +29,8 @@ def upload_file(file=None, resize=False, png=False):
om = next(frames)
om.info = i.info
om.save("image.gif", save_all=True, append_images=list(frames), loop=0)
try: om.save("image.gif", save_all=True, append_images=list(frames), loop=0)
except: return(None)
if png: filedir = "image.png"
else: filedir = "image.gif"

View File

@ -16,6 +16,7 @@ WELCOME_CHANNEL="846509313941700618"
def join_discord(v):
if v.is_banned != 0: return "You're banned"
if 'rdrama' in request.host and v.admin_level == 0 and v.patron == 0 and v.coins < 150: return f"You must earn 150 {COINS_NAME} before entering the Discord server. You earn {COINS_NAME} by making posts/comments and getting upvoted."
now=int(time.time())