Method SetDuration
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
SetDuration(int)
Sets the duration for the poll.
public DiscordPollBuilder SetDuration(int hours)
Parameters
hours
intHow long the poll should be open for. Max 7 days.
Returns
- DiscordPollBuilder
The current builder to be chained.