Reset commands to default when stream ends

Essentially, when I end my stream, I wish to call some custom function that sets some variables back to their defaults. Variables include some commands and some through the quote system.

I believe I can simply achieve this by calling some reset function myself, but I would like it to be automatically called when the stream ends in case I forget.

Thanks for the insight in advanced! :slight_smile:

Sorry for the delay. Commands cannot be modified by Nightbot per as a stream ends. However this can be done using Nightbot’s API and editing the count. The quote system is different and cannot utilize the Nightbot API.

Thank you for your reply. Do you mind providing a quick example or link to one? I need to go through the api but I’m quite new and learn easier by example.

1 Like

The API docs are available at:

Edit custom commands:

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