Coder Social home page Coder Social logo

discord-file-storage's People

Contributors

craftycatz avatar priyanshbalyan avatar rutujabadve avatar sxh7 avatar warmachine028 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

discord-file-storage's Issues

Fix download command bug

Discord removes special characters on uploading a file to a channel. Currently the download command fails if uploaded file contains ( or ).

To fix this define a new variable fileRegex = r'&|\+|\(|\)' on line no. 223 in file fs.py and replace the first parameter of re.sub with it on line no. 226 i.e. replace re.sub(r'&|\+', '', file['filename']) with re.sub(fileRegex, '', file['filename'])

Claim this issue first by commenting here to prevent multiple people working on the same issue.

Raise a PR with a description that says Fixes #6

Step for completing the task:

  1. Fork the repo
  2. Make you necessary changes in fs.py
  3. Submit a PR

Leave a star if you like the project!

Add meaningful documentation

Add comment #Add your discord bot token here just above the line TOKEN = '' in file fs.py

Claim this issue first by commenting here to prevent multiple people working on the same issue.

Raise a PR with a description that says Fixes #8

Step for completing the task:

  1. Fork the repo
  2. Make you necessary changes in fs.py
  3. Submit a PR

Leave a star if you like the project!

Add meaningful documentation

Add comment #Add your discord bot token here just above the line TOKEN = '' in file fs.py

Claim this issue first by commenting here to prevent multiple people working on the same issue.

Raise a PR with a description that says Fixes #2

Step for completing the task:

  1. Fork the repo
  2. Make you necessary changes in fs.py
  3. Submit a PR

Leave a star if you like the project!

Add meaningful documentation

Add comment #Get size unit text from number of bytes just above the getSizeFormat function in file fs.py

Claim this issue first by commenting here to prevent multiple people working on the same issue.

Raise a PR with the description Fixes #4

Step for completing the task:

  1. Fork the repository
  2. Make you necessary changes in fs.py
  3. Submit a PR

Leave a star if you like the project!

Add meaningful comment

Add comment #Add your discord channel id here to line number 12 in file fs.py

Claim this issue first by commenting here to prevent multiple people working on the same issue.

Raise a PR with a description that says Fixes #1

Step for completing the task:

  1. Fork the repo
  2. Make you necessary changes in fs.py
  3. Submit a PR

Leave a star if you like the project!

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.