I need help with !chance command

Asked May 2, 2021·2 replies·Last activity 5 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.

!chance command

There is a $(eval Math.round(Math.random()*100))% chance of $(touser) $(query)

!chance nightbot to win the game

There is a 88% chance of nightbot nightbot to win the game

The name write two times
How can i fix that ?

2 replies

You only really need $(touser) there’s no need for $(query)