Unique custom command

Asked Sep 23, 2022·2 replies·Last activity 3 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Hi all, i would like to get help with a command that says

$(user) poisoned streamer's name with (an item out of a specific list)

I would like to know how to i create said list and how would i make nightbot to randomly pick an item from the list. I have 0 idea about coding, so i will appreciate if u will answer with the command or explain how to do it like im 3 <3

2 replies

Here you go.

$(user) poisoned STREAMERNAME with $(eval var sayings = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', "J"]; sayings[Math.floor(Math.random() * sayings.length)];)

TY SO MUCH, IT WORKED. Ty for making it easy for my 1 brain cell to understand