Created
July 27, 2022 12:56
-
-
Save tk3369/f5090f023da952b4e69d2ece08c38191 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning: Sending message failed | |
│ exception = | |
│ IOError(EOFError() during request(https://discord.com/api/v10/channels/997765767053459520/messages)) | |
│ | |
│ Stacktrace: | |
│ [1] read_to_buffer(t::HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}, sizehint::Int64) | |
│ @ HTTP.ConnectionPool ~/.julia/packages/HTTP/aTjcj/src/ConnectionPool.jl:275 | |
│ [2] readuntil(t::HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}, f::Function, sizehint::Int64) | |
│ @ HTTP.ConnectionPool ~/.julia/packages/HTTP/aTjcj/src/ConnectionPool.jl:294 | |
│ [3] readuntil | |
│ @ ~/.julia/packages/HTTP/aTjcj/src/ConnectionPool.jl:292 [inlined] | |
│ [4] readheaders(io::HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}, message::HTTP.Messages.Response) | |
│ @ HTTP.Messages ~/.julia/packages/HTTP/aTjcj/src/Messages.jl:537 | |
│ [5] startread(http::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}}) | |
│ @ HTTP.Streams ~/.julia/packages/HTTP/aTjcj/src/Streams.jl:170 | |
│ [6] macro expansion | |
│ @ ~/.julia/packages/HTTP/aTjcj/src/StreamRequest.jl:67 [inlined] | |
│ [7] macro expansion | |
│ @ ./task.jl:399 [inlined] | |
│ [8] request(::Type{HTTP.StreamRequest.StreamLayer{Union{}}}, io::HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}, req::HTTP.Messages.Request, body::String; reached_redirect_limit::Bool, response_stream::Nothing, iofunction::Nothing, verbose::Int64, kw::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:status_exception,), Tuple{Bool}}}) | |
Messages.Request, body::String; reached_redirect_limit::Bool, response_stream::Nothing, iofunction::Nothing, verbose::Int64, kw::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:status_exception,), Tuple{Bool}}}) | |
│ @ HTTP.StreamRequest ~/.julia/packages/HTTP/aTjcj/src/StreamRequest.jl:57 | |
│ [9] request(::Type{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}, url::URIs.URI, req::HTTP.Messages.Request, body::String; proxy::Nothing, socket_type::Type, reuse_limit::Int64, kw::Base.Pairs{Symbol, Union{Nothing, Bool}, Tuple{Symbol, Symbol, Symbol}, NamedTuple{(:iofunction, :reached_redirect_limit, :status_exception), Tuple{Nothing, Bool, Bool}}}) | |
│ @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/aTjcj/src/ConnectionRequest.jl:108 | |
│ [10] (::Base.var"#76#78"{Base.var"#76#77#79"{ExponentialBackOff, HTTP.RetryRequest.var"#2#3"{Bool, HTTP.Messages.Request}, typeof | |
(HTTP.request)}})(::Type, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, Union{Nothing, Bool}, Tuple{Symbol, Symbol, Symbol}, NamedTuple{(:i | |
ofunction, :reached_redirect_limit, :status_exception), Tuple{Nothing, Bool, Bool}}}) | |
│ @ Base ./error.jl:294 | |
│ [11] #request#1 | |
│ @ ~/.julia/packages/HTTP/aTjcj/src/RetryRequest.jl:44 [inlined] | |
│ [12] request(::Type{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP | |
.StreamRequest.StreamLayer{Union{}}}}}}, method::String, url::URIs.URI, headers::Vector{Pair{SubString{String}, SubString{String}}}, bo | |
dy::String; http_version::VersionNumber, target::String, parent::Nothing, iofunction::Nothing, kw::Base.Pairs{Symbol, Bool, Tuple{Symbo | |
l, Symbol}, NamedTuple{(:reached_redirect_limit, :status_exception), Tuple{Bool, Bool}}}) | |
│ @ HTTP.MessageRequest ~/.julia/packages/HTTP/aTjcj/src/MessageRequest.jl:66 | |
│ [13] request(::Type{HTTP.BasicAuthRequest.BasicAuthLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.Conne | |
ctionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}}}}, method::String, url::URIs.URI, headers::Vector{Pair{SubS | |
tring{String}, SubString{String}}}, body::String; kw::Base.Pairs{Symbol, Bool, Tuple{Symbol, Symbol}, NamedTuple{(:reached_redirect_lim | |
it, :status_exception), Tuple{Bool, Bool}}}) | |
│ @ HTTP.BasicAuthRequest ~/.julia/packages/HTTP/aTjcj/src/BasicAuthRequest.jl:28 | |
│ [14] request(::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.BasicAuthRequest.BasicAuthLayer{HTTP.MessageRequest.MessageLayer{HTTP | |
.RetryRequest.RetryLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}}}}}, method::String, url: | |
:URIs.URI, headers::Vector{Pair{SubString{String}, SubString{String}}}, body::String; redirect_limit::Int64, forwardheaders::Bool, kw:: | |
Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:status_exception,), Tuple{Bool}}}) | |
│ @ HTTP.RedirectRequest ~/.julia/packages/HTTP/aTjcj/src/RedirectRequest.jl:28 | |
│ [15] #request#1 | |
│ @ ~/.julia/packages/HTTP/aTjcj/src/TopRequest.jl:15 [inlined] | |
│ [16] request(method::Symbol, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Dict{Any, Any}, kw::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:status_exception,), Tuple{Bool}}}) | |
│ @ HTTP ~/.julia/packages/HTTP/aTjcj/src/HTTP.jl:330 | |
│ [17] api_call(c::Discorder.BotClient, method::Symbol, path::String, Into::Type, params::Dict{Any, Any}; kwargs::Base.Pairs{Symbol, Vector{Discorder.Embed}, Tuple{Symbol}, NamedTuple{(:embeds,), Tuple{Vector{Discorder.Embed}}}}) | |
│ @ Discorder ~/.julia/packages/Discorder/50iJ2/src/routes.jl:47 | |
│ [18] create_message(client::Discorder.BotClient, channel_id::Discorder.DiscordChannel; kwargs::Base.Pairs{Symbol, Vector{Discorder.Embed}, Tuple{Symbol}, NamedTuple{(:embeds,), Tuple{Vector{Discorder.Embed}}}}) | |
│ @ Discorder ~/.julia/packages/Discorder/50iJ2/src/routes.jl:131 | |
│ [19] send_message(client::Discorder.BotClient, bot_channels::Vector{Discorder.DiscordChannel}, talk::JSON3.Object{Base.CodeUnits{ | |
UInt8, String}, SubArray{UInt64, 1, Vector{UInt64}, Tuple{UnitRange{Int64}}, true}}) | |
│ @ ScheduleBot ~/ScheduleBot/ScheduleBot/ScheduleBot/src/ScheduleBot.jl:28 | |
│ [20] updater(client::Discorder.BotClient, bot_channels::Vector{Discorder.DiscordChannel}) | |
│ @ ScheduleBot ~/ScheduleBot/ScheduleBot/ScheduleBot/src/ScheduleBot.jl:79 | |
│ [21] run() | |
│ @ ScheduleBot ~/ScheduleBot/ScheduleBot/ScheduleBot/src/ScheduleBot.jl:106 | |
│ [22] top-level scope |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment