Saving whispers for further processing

is there a way to save the whisper my twitch bot gets? in a separate list e.g.

in the second step i would like to go through this list and randomly select a person from all whispers

In code you can do anything you want.

So yes.

can you give me some help where i can get the necessary commands and information so i can implement this with node js?

From this:

I assumed you already have obtained the Whisper in code?

So what do you have/where are you up to?