Skip to content

Playing the royal roulette

Yuuto edited this page Dec 1, 2023 · 1 revision

To play the royal roulette, it's very easy. You just need to init the client, then do this:

await client.lottery.play();

During certain times, the royal roulette is not available for use. If so, you will receive the following error: Lottery is not available. If you need to use it anyway, you can pass the ignoreIfUnavailable option in the first argument:

await client.lottery.play({
  ignoreIfUnavailable: true
});
Clone this wiki locally