You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Rotting 13!
thread 'main' panicked at 'Connection failed: Json(Error("invalid type: string "3311", expected a u16 in [0, 9999] or parseable string", line: 0, column: 0))', libcore\result.rs:945:5
note: Run with RUST_BACKTRACE=1 for a backtrace.
error: process didn't exit successfully: target\debug\rotting13-bot.exe main (exit code: 101)
The text was updated successfully, but these errors were encountered:
I've also encountered this exact error and can't quite pinpoint the cause either. It's not just this project, though: trying to run the discord-rs example chat bot also yields the same result for me.
For what it's worth the "3311" in your error message is your bot's username discriminator number, so something in the process of creating a connection is not handling the number well(is it expecting an int or some other string?).
For any future readers, using https://github.com/tinaun/discord-rs instead of either Bocom's fork or the original Spacemaniac one seems to fix this issue.
I keep getting this when i try to run it:
The Rotting 13!
thread 'main' panicked at 'Connection failed: Json(Error("invalid type: string "3311", expected a u16 in [0, 9999] or parseable string", line: 0, column: 0))', libcore\result.rs:945:5
note: Run with
RUST_BACKTRACE=1
for a backtrace.error: process didn't exit successfully:
target\debug\rotting13-bot.exe main
(exit code: 101)The text was updated successfully, but these errors were encountered: