Table of Contents

Method WithQuestion

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

WithQuestion(string)

Sets the question for this poll.

public DiscordPollBuilder WithQuestion(string question)

Parameters

question string

The question for the poll.

Returns

DiscordPollBuilder

The modified builder to chain calls with.