Giter Club home page Giter Club logo

pixeldrain-bot's Introduction

Hi, I'm Fayas! ๐Ÿ‘‹

  • ๐Ÿ“š I'm currently studying computer science.
  • ๐Ÿ’ป I'm passionate about software development.
  • ๐ŸŒ I'm interested in web design and development.
  • ๐Ÿ”ญ I enjoy working with the Python programming language.
  • ๐ŸŽฏ I'm focused on improving my coding skills.
  • ๐ŸŒ I love exploring new technologies and learning different programming languages.
  • ๐Ÿš€ I actively contribute to open-source projects and the developer community.
  • ๐ŸŽจ In my free time, I create open-source repositories.
  • ๐Ÿ“– I constantly expand my knowledge through online courses and tutorials.
  • ๐Ÿ’ก I'm always seeking new challenges and opportunities to grow as a developer.
  • ๐Ÿ“ซ You can reach me via my accounts.

pixeldrain-bot's People

Contributors

fayasnoushad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pixeldrain-bot's Issues

Logging

Can please add account login that would be great Feature
Telegram to pixeldrain account

Never get the links

Showing Uploaded successfully in telegram and never get the links. heroku logs are provided below

2021-12-07T09:27:47.917809+00:00 heroku[worker.1]: State changed from starting to up
2021-12-07T09:27:51.595921+00:00 app[worker.1]: Pyrogram v1.2.12, Copyright (C) 2017-2021 Dan <https://github.com/delivrance>
2021-12-07T09:27:51.595938+00:00 app[worker.1]: Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)
2021-12-07T09:27:51.595938+00:00 app[worker.1]: 
2021-12-07T09:28:24.764102+00:00 app[worker.1]: argument of type 'TypeError' is not iterable
2021-12-07T09:28:24.764109+00:00 app[worker.1]: Traceback (most recent call last):
2021-12-07T09:28:24.764110+00:00 app[worker.1]:   File "/app/main.py", line 62, in media_filter
2021-12-07T09:28:24.764110+00:00 app[worker.1]:     if response["success"] is False:
2021-12-07T09:28:24.764111+00:00 app[worker.1]: TypeError: 'Response' object is not subscriptable
2021-12-07T09:28:24.764112+00:00 app[worker.1]: 
2021-12-07T09:28:24.764113+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2021-12-07T09:28:24.764113+00:00 app[worker.1]: 
2021-12-07T09:28:24.764113+00:00 app[worker.1]: Traceback (most recent call last):
2021-12-07T09:28:24.764114+00:00 app[worker.1]:   File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 217, in handler_worker
2021-12-07T09:28:24.764114+00:00 app[worker.1]:     await handler.callback(self.client, *args)
2021-12-07T09:28:24.764115+00:00 app[worker.1]:   File "/app/main.py", line 69, in media_filter
2021-12-07T09:28:24.764115+00:00 app[worker.1]:     if "MESSAGE_NOT_MODIFIED" in error:
2021-12-07T09:28:24.764115+00:00 app[worker.1]: TypeError: argument of type 'TypeError' is not iterable

Heroku and Direct Link

how to deploy bot to heroku and can it upload direct link like gd index to pixeldrain?

SyntaxError

Showing some syntax error while running the latest code

2021-12-07T13:40:14.666267+00:00 heroku[worker.1]: State changed from crashed to starting
2021-12-07T13:40:18.167721+00:00 heroku[worker.1]: Starting process with command `python main.py`
2021-12-07T13:40:19.394530+00:00 heroku[worker.1]: State changed from starting to up
2021-12-07T13:40:19.850551+00:00 heroku[worker.1]: Process exited with status 1
2021-12-07T13:40:19.903699+00:00 heroku[worker.1]: State changed from up to crashed
2021-12-07T13:40:19.737423+00:00 app[worker.1]:   File "/app/main.py", line 78
2021-12-07T13:40:19.737444+00:00 app[worker.1]:     text=f"Error :- `{error}`\n\n`{'\n'.join(logs)}`",
2021-12-07T13:40:19.737584+00:00 app[worker.1]:                                                      ^
2021-12-07T13:40:19.737603+00:00 app[worker.1]: SyntaxError: f-string expression part cannot include a backslash

Issue Still persists

Issue still persists .Just showing "uploaded successfully" in telegram and no links generating
#5

Heroku logs

2021-12-07T11:49:10.024877+00:00 app[worker.1]: Pyrogram v1.2.12, Copyright (C) 2017-2021 Dan <https://github.com/delivrance>
2021-12-07T11:49:10.025452+00:00 app[worker.1]: Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)
2021-12-07T11:49:10.025454+00:00 app[worker.1]: 
2021-12-07T11:49:46.738931+00:00 app[worker.1]: 'Response' object is not subscriptable
2021-12-07T11:49:46.738941+00:00 app[worker.1]: Traceback (most recent call last):
2021-12-07T11:49:46.738943+00:00 app[worker.1]:   File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 217, in handler_worker
2021-12-07T11:49:46.738943+00:00 app[worker.1]:     await handler.callback(self.client, *args)
2021-12-07T11:49:46.738944+00:00 app[worker.1]:   File "/app/main.py", line 85, in media_filter
2021-12-07T11:49:46.738945+00:00 app[worker.1]:     text = f"**File Name:** `{data['name']}`" + "\n"
2021-12-07T11:49:46.738945+00:00 app[worker.1]: TypeError: 'Response' object is not subscriptable

Memory Exceeded Error when bot is uploading

File less than 600mb usually no error during downloading and uploading but if more than 600mb like 900mb or 1gb shows error when uploading and even restarts the bot. Using heroku btw

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.