Androz2091/discord-giveaways

Stop failed reroll message, customize end message as a Message

Closed this issue · 6 comments

Firstly, when I reroll a giveaway and there aren't enough participants, this message is sent in the chat.
image
Can I stop this from happening?

Secondly, can I modify the giveaway end message as a Message? Like add components to it.

I will add an option.
and #422

Can I stop this from happening?

By this I meant that I wanted to make it an ephemeral, or get an error thrown.

So what you could do is add an option called noFailedRerollMessage in GiveawayManager

Can I stop this from happening?

By this I meant that I wanted to make it an ephemeral, or get an error thrown.

So what you could do is add an option called noFailedRerollMessage in GiveawayManager

Throwing an error will be good so we can catch it and show ephemeral message. But I think it'll make it a samver:major. So Instead of noFailedRerollMessage add a option for failOnNoWinner or anything other name idc and if this reroll option is true then Instead of sending a message reject the promise.

Can this be closed or is something still missing?

It can be closed, thank you very much.