Skip to content

Commit

Permalink
Add clarification on layout_type attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Apr 17, 2024
1 parent dd57fa1 commit 688d558
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/nostrum/struct/message/poll.ex
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ defmodule Nostrum.Struct.Message.Poll do

@typedoc """
Layout type for the poll, currently only 1 (`DEFAULT`) is supported here.
If set to `nil`, the value will default to `1` at the Discord API.
"""
@type layout_type :: 1 | nil

Expand Down

0 comments on commit 688d558

Please sign in to comment.