diff --git a/lib/nostrum/api.ex b/lib/nostrum/api.ex index 459fcbeff..6224b7882 100644 --- a/lib/nostrum/api.ex +++ b/lib/nostrum/api.ex @@ -2840,7 +2840,7 @@ defmodule Nostrum.Api do @doc """ Retrieves the original message of a webhook. """ - @doc since: "0.6.2" + @doc since: "0.7.0" @spec get_webhook_message(Webhook.t(), Message.id()) :: error | {:ok, Message.t()} def get_webhook_message(webhook, message_id) do @@ -3513,7 +3513,7 @@ defmodule Nostrum.Api do @doc """ Retrieves the original message of an interaction. """ - @doc since: "0.6.2" + @doc since: "0.7.0" @spec get_original_interaction_response(Interaction.t()) :: error | {:ok, Message.t()} def get_original_interaction_response(interaction) do path = Constants.original_interaction_response(interaction.application_id, interaction.token) diff --git a/lib/nostrum/struct/guild/member.ex b/lib/nostrum/struct/guild/member.ex index 488a84db9..ac30fe399 100644 --- a/lib/nostrum/struct/guild/member.ex +++ b/lib/nostrum/struct/guild/member.ex @@ -58,10 +58,10 @@ defmodule Nostrum.Struct.Guild.Member do @type roles :: [Role.id()] @typedoc """ - Date the member joined the guild. + Date the member joined the guild, as a unix timestamp. If you dont request offline guild members this field will be `nil` for any members that come online. """ - @type joined_at :: String.t() | nil + @type joined_at :: pos_integer() | nil @typedoc """ Whether the member is deafened. diff --git a/mix.exs b/mix.exs index d869d9bc8..8645226af 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ defmodule Nostrum.Mixfile do def project do [ app: :nostrum, - version: "0.7.0", + version: "0.7.0-rc1", elixir: "~> 1.11", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod,