!countdown and draw !winner

Asked Dec 4, 2023·3 replies·Last activity 2 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.

Hey, briefly i want to make a countdown and whenever countdown ends, it should automatically draws a !winner. It's like merging countdown and winner in a command.

And out of topic, is it possible to translate the output of !winner.
And the winner is... (ve kazanan....)

(!!! OldButDolphin !!! (OldButDolphin is following this channel) to ( !!! OldButDolphin !!! (OldButDolphin bu kanalı takip ediyor.)

Appreciate any help.

.

3 replies

Hey @Burly Deer!

I'm sorry, but both of the things you're trying to achieve are not possible as of now.

Isnt this possible to create with cods?

It's not possible with code:

  • The $(countdown) variable only gives the amount of time left until a specific date, it only computes the amount of time left when the command is called, meaning that if the timer hits zero, Nightbot won't know until someone calls the command, therefore you can't automate a command call based on a specific date, and you can't add a condition that'd call an alias, the alias is always called.
  • We can't modify the output of !winner because we can't add an alias to default commands.