Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/nosedrum/converters.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ defmodule Nosedrum.Converters do

alias Nostrum.Error.ApiError
alias Nostrum.Snowflake
alias Nostrum.Struct.Guild.{Member, Role}
alias Nostrum.Struct.{Channel, Guild}
alias Nostrum.Struct.Guild.{Member, Role}

@typedoc """
Additional options that were used when searching the cache.
Expand Down
4 changes: 2 additions & 2 deletions lib/nosedrum/storage/dispatcher.ex
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ defmodule Nosedrum.Storage.Dispatcher do
{:error, :unknown_command}

# the response type was not a callback tuple, no need to follow up
res_type when is_atom(res_type) or is_integer(res_type) ->
{:ok}
res_type when is_atom(res_type) or is_integer(res_type) or is_nil(res_type) ->
:ok

{:error, reason} ->
{:error, reason}
Expand Down