Skip to content

Commit

Permalink
Add some since tags to new modules and features
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Apr 20, 2024
1 parent 1266236 commit 193997a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/nostrum/struct/message/poll.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ defmodule Nostrum.Struct.Message.Poll do
There are various helper methods on this structure to create new poll, see `create_poll/2` and `put_answer/2` & `put_answer/3` for code samples.
"""
@moduledoc since: "0.9.0"

alias Nostrum.Util

Expand Down
1 change: 1 addition & 0 deletions lib/nostrum/struct/user.ex
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ defmodule Nostrum.Struct.User do
@type discriminator :: String.t()

@typedoc "The user's display name, if it is set"
@typedoc since: "0.9.0"
@type global_name :: String.t() | nil

@typedoc "User's avatar hash"
Expand Down

0 comments on commit 193997a

Please sign in to comment.