Giter Club home page Giter Club logo

Comments (4)

parafoxia avatar parafoxia commented on August 20, 2024

This will probably come in the form of a separate +closein command (unless someone has a better name for it) that takes a number of minutes as it's first and only argument.

  • Restrict to staff (maybe only to participants of the case thus far)
  • When cancelled, return to previous timeout method
  • Perhaps delete messages when timer is cancelled to stop it from cluttering as I imagine otherwise it could get pretty messy
  • Allow ability to set timeout longer than 60 mins?
  • Set default argument to an amount if no explicit amount is defined?

from carberretta.

MrDogeBro avatar MrDogeBro commented on August 20, 2024

You could just add it as an extra argument to the +close command that would be in the form of an int. It would just have to be an optional argument so that if you wanted to close the case right away it would be +close but if you wanted to close in 10 mins it would just be +close 10. I don't see the point in creating a second command for this but if there is a good reason I can understand that. That is just my opinion on the subject.

from carberretta.

parafoxia avatar parafoxia commented on August 20, 2024

I'm reluctant to do it that way because the logic would be entirely different but I'll have a better think about it when I go to write it.

from carberretta.

mshaugh avatar mshaugh commented on August 20, 2024

I agree, the optional time argument would be the preferred implementation.

  • Separate the current close logic out of the command
  • If argument given, schedule closure
  • Otherwise, close now

from carberretta.

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.