Git Product home page Git Product logo

Comments (5)

OliverCordingl1 avatar OliverCordingl1 commented on July 17, 2024 1

Like closeall 2w or closeall 1mo?

Ideally, it would be since last the last message, not since it was created, but I think doing it based on the creation date in the database would be significantly easier.

I can possibly do an option to base off of creation date / last message? Could also be a setting in config.js.
If I have time I'll work on doing it by last message, but I'll prioritise doing it off of creationdate / lastmodified.

from bot.

OliverCordingl1 avatar OliverCordingl1 commented on July 17, 2024

Having a go at the closeall command currently, I'll be done soon and put in a pull request.

from bot.

OliverCordingl1 avatar OliverCordingl1 commented on July 17, 2024

(As with the deleteall command, I'm assuming this should be easy enough as well)

from bot.

OliverCordingl1 avatar OliverCordingl1 commented on July 17, 2024

Thinking about it, delete all might be a bit dangerous with the current permission foundations the projects have. I won't work on it unless anybody says they 100% want it to happen. In the meantime, closeall command is nearly done. It is just a tinkered version of close.js.

I currently have got it bare - there aren't any arguments or anything. I am thinking about later adding an argument where all older than a certain amount of days can be closed. Any ideas on how that would look in terms of the usage?

from bot.

eartharoid avatar eartharoid commented on July 17, 2024

Like closeall 2w or closeall 1mo?

Ideally, it would be since last the last message, not since it was created, but I think doing it based on the creation date in the database would be significantly easier.

from bot.

Related Issues (20)

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.