Countdown when command is called

Is there a way (for a mod to add) to add a countdown/timer for a reminder after say 15 minutes? IE:


  • 15 minutes pass
    Nightbot: @streamerName - 15 minutes have passed.

I’ve had a Google around etc but can’t find anything

Cheers :slight_smile:

@Slawbawn As far as I know it’s not possible to make a command that responds 15 minutes later, and it’s not possible to add/edit/delete timers through chat. You’d need to have the streamer add you as a Nightbot manager so that you can create timers through the dashboard.

That said, what you CAN do, though, is set up a bunch of commands that lets you set a countdown to a specific amount of time in the future (e.g. 15 minutes, 1 hour 40 minutes, or 24 days 23 hours 59 minutes 59 seconds) and returns how much time is left:

I figured that was the case, but thought I’d ask anyway. My solution was the following:

!commands add !chtime -a=chinook $(query)
!commands add !resetChinook -ul=moderator -a=!commands edit !chtime $(query) [TIMEZONE]
!commands add chinook $(channel) There is $(countdown $(query)) until the chinook crate opens

It works as needed, bit more convoluted that preferred but heyho :slight_smile:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.