Skip to content

[Fix] NRE on thread member creation without a guild user in the paylo… #351

[Fix] NRE on thread member creation without a guild user in the paylo…

[Fix] NRE on thread member creation without a guild user in the paylo… #351

GitHub Actions / Test Results succeeded Nov 23, 2024 in 0s

All 230 tests pass in 0s

  1 files  ±0    1 suites  ±0   0s ⏱️ ±0s
230 tests ±0  230 ✅ ±0  0 💤 ±0  0 ❌ ±0 
237 runs  ±0  237 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 96a8327. ± Comparison against earlier commit a1e50c4.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

230 tests found

There are 230 tests, see "Raw output" for the full list of tests.
Raw output
Discord.ChannelPermissionsTests ‑ ChannelTypeResolution_Category
Discord.ChannelPermissionsTests ‑ ChannelTypeResolution_DM
Discord.ChannelPermissionsTests ‑ ChannelTypeResolution_Group
Discord.ChannelPermissionsTests ‑ ChannelTypeResolution_Invalid
Discord.ChannelPermissionsTests ‑ ChannelTypeResolution_Null
Discord.ChannelPermissionsTests ‑ ChannelTypeResolution_Text
Discord.ChannelPermissionsTests ‑ ChannelTypeResolution_Voice
Discord.ChannelPermissionsTests ‑ DefaultConstructor
Discord.ChannelPermissionsTests ‑ FlagsConstructor
Discord.ChannelPermissionsTests ‑ Modify
Discord.ChannelPermissionsTests ‑ RawValueConstructor
Discord.ColorTests ‑ Color_Blue
Discord.ColorTests ‑ Color_Default
Discord.ColorTests ‑ Color_FromRgb_Byte
Discord.ColorTests ‑ Color_FromRgb_Float
Discord.ColorTests ‑ Color_FromRgb_Float_OutOfRange
Discord.ColorTests ‑ Color_FromRgb_Int
Discord.ColorTests ‑ Color_FromRgb_Int_OutOfRange
Discord.ColorTests ‑ Color_FromRgb_String_CssHexColor
Discord.ColorTests ‑ Color_FromRgb_String_Invalid
Discord.ColorTests ‑ Color_Green
Discord.ColorTests ‑ Color_New
Discord.ColorTests ‑ Color_Red
Discord.CommandBuilderTests ‑ BuildSimpleSlashCommand
Discord.CommandBuilderTests ‑ BuildSubSlashCommand
Discord.EmbedBuilderTests ‑ AddField_ActionEmbedFieldBuilder
Discord.EmbedBuilderTests ‑ AddField_EmbedFieldBuilder
Discord.EmbedBuilderTests ‑ AddField_Strings
Discord.EmbedBuilderTests ‑ AddField_TooManyFields
Discord.EmbedBuilderTests ‑ Description_Invalid
Discord.EmbedBuilderTests ‑ Description_Valid
Discord.EmbedBuilderTests ‑ EmbedAuthorBuilder
Discord.EmbedBuilderTests ‑ EmbedFieldBuilder
Discord.EmbedBuilderTests ‑ EmbedFieldBuilder_InvalidName(name: "                                                  "···)
Discord.EmbedBuilderTests ‑ EmbedFieldBuilder_InvalidName(name: " ")
Discord.EmbedBuilderTests ‑ EmbedFieldBuilder_InvalidName(name: "")
Discord.EmbedBuilderTests ‑ EmbedFieldBuilder_InvalidName(name: "jVyLChmA7aBZozXQuZ3VDEcwW6zOq0nteOVYBZi31ny73rpXfS"···)
Discord.EmbedBuilderTests ‑ EmbedFieldBuilder_InvalidName(name: null)
Discord.EmbedBuilderTests ‑ EmbedFieldBuilder_InvalidValue
Discord.EmbedBuilderTests ‑ EmbedFooterBuilder
Discord.EmbedBuilderTests ‑ EmbedFooterBuilder_InvalidText
Discord.EmbedBuilderTests ‑ Length
Discord.EmbedBuilderTests ‑ Length_Empty
Discord.EmbedBuilderTests ‑ Tile_Valid(title: "jVyLChmA7aBZozXQuZ3VDEcwW6zOq0nteOVYBZi31ny73rpXfS"···)
Discord.EmbedBuilderTests ‑ Title_Invalid(title: "                                                  "···)
Discord.EmbedBuilderTests ‑ Title_Invalid(title: "jVyLChmA7aBZozXQuZ3VDEcwW6zOq0nteOVYBZi31ny73rpXfS"···)
Discord.EmbedBuilderTests ‑ Url_Valid(url: "")
Discord.EmbedBuilderTests ‑ Url_Valid(url: "https://docs.stillu.cc")
Discord.EmbedBuilderTests ‑ Url_Valid(url: null)
Discord.EmbedBuilderTests ‑ WithAuthor_ActionAuthorBuilder
Discord.EmbedBuilderTests ‑ WithAuthor_AuthorBuilder
Discord.EmbedBuilderTests ‑ WithAuthor_Strings
Discord.EmbedBuilderTests ‑ WithColor
Discord.EmbedBuilderTests ‑ WithCurrentTimestamp
Discord.EmbedBuilderTests ‑ WithFooter_ActionFooterBuilder
Discord.EmbedBuilderTests ‑ WithFooter_FooterBuilder
Discord.EmbedBuilderTests ‑ WithFooter_Strings
Discord.EmoteTests ‑ Test_Animated_Emote_Parse
Discord.EmoteTests ‑ Test_Emote_Parse
Discord.EmoteTests ‑ Test_Invalid_Amimated_Emote_Parse
Discord.EmoteTests ‑ Test_Invalid_Emote_Parse
Discord.FormatTests ‑ BlockQuote(input: "", expected: "")
Discord.FormatTests ‑ BlockQuote(input: "\n", expected: "\n")
Discord.FormatTests ‑ BlockQuote(input: "foo\n\nbar", expected: ">>> foo\n\nbar")
Discord.FormatTests ‑ BlockQuote(input: "inb4\ngreentext", expected: ">>> inb4\ngreentext")
Discord.FormatTests ‑ BlockQuote(input: "inb4\r\ngreentext", expected: ">>> inb4\r\ngreentext")
Discord.FormatTests ‑ BlockQuote(input: "input", expected: ">>> input")
Discord.FormatTests ‑ BlockQuote(input: null, expected: null)
Discord.FormatTests ‑ Code
Discord.FormatTests ‑ Quote(input: "", expected: "")
Discord.FormatTests ‑ Quote(input: "\n", expected: "\n")
Discord.FormatTests ‑ Quote(input: "foo\n\nbar", expected: "> foo\n> \n> bar")
Discord.FormatTests ‑ Quote(input: "inb4\ngreentext", expected: "> inb4\n> greentext")
Discord.FormatTests ‑ Quote(input: "inb4\r\ngreentext", expected: "> inb4\r\n> greentext")
Discord.FormatTests ‑ Quote(input: "input", expected: "> input")
Discord.FormatTests ‑ QuoteNullString
Discord.FormatTests ‑ Sanitize(input: "*text*", expected: "\\*text\\*")
Discord.FormatTests ‑ Sanitize(input: "> text", expected: "\\> text")
Discord.FormatTests ‑ Sanitize(input: "@everyone", expected: "@everyone")
Discord.FormatTests ‑ Sanitize(input: "\\", expected: "\\\\")
Discord.FormatTests ‑ Sanitize(input: "_text_", expected: "\\_text\\_")
Discord.FormatTests ‑ Sanitize(input: "`text`", expected: "\\`text\\`")
Discord.FormatTests ‑ Sanitize(input: "~text~", expected: "\\~text\\~")
Discord.FormatTests ‑ StripMarkdown(input: "", expected: "")
Discord.FormatTests ‑ StripMarkdown(input: "**hi**", expected: "hi")
Discord.FormatTests ‑ StripMarkdown(input: ">>__uwu__", expected: "uwu")
Discord.FormatTests ‑ StripMarkdown(input: "\n", expected: "\n")
Discord.FormatTests ‑ StripMarkdown(input: "__uwu__", expected: "uwu")
Discord.FormatTests ‑ StripMarkdown(input: "```uwu```", expected: "uwu")
Discord.FormatTests ‑ StripMarkdown(input: "berries __and__ *Cream**, I'm a little lad who lov"···, expected: "berries and Cream, I'm a little lad who loves berr"···)
Discord.FormatTests ‑ StripMarkdown(input: "~uwu~", expected: "uwu")
Discord.GuildHelperTests ‑ GetUploadLimit(tier: None, factor: 25)
Discord.GuildHelperTests ‑ GetUploadLimit(tier: Tier1, factor: 25)
Discord.GuildHelperTests ‑ GetUploadLimit(tier: Tier2, factor: 50)
Discord.GuildHelperTests ‑ GetUploadLimit(tier: Tier3, factor: 100)
Discord.GuildPermissionsTests ‑ DefaultConstructor
Discord.GuildPermissionsTests ‑ FlagsConstructor
Discord.GuildPermissionsTests ‑ Modify
Discord.GuildPermissionsTests ‑ RawValueConstructor
Discord.MentionUtilsTests ‑ MentionChannel
Discord.MentionUtilsTests ‑ MentionRole
Discord.MentionUtilsTests ‑ MentionUser
Discord.MentionUtilsTests ‑ ParseChannel_Fail(channel: " ")
Discord.MentionUtilsTests ‑ ParseChannel_Fail(channel: "<12#3>")
Discord.MentionUtilsTests ‑ ParseChannel_Fail(channel: "<123>")
Discord.MentionUtilsTests ‑ ParseChannel_Fail(channel: "invalid")
Discord.MentionUtilsTests ‑ ParseChannel_Null
Discord.MentionUtilsTests ‑ ParseChannel_Pass(channel: "<#123>", id: 123)
Discord.MentionUtilsTests ‑ ParseRole_Fail(role: " ")
Discord.MentionUtilsTests ‑ ParseRole_Fail(role: "<123>")
Discord.MentionUtilsTests ‑ ParseRole_Fail(role: "<12@&3>")
Discord.MentionUtilsTests ‑ ParseRole_Fail(role: "invalid")
Discord.MentionUtilsTests ‑ ParseRole_Null
Discord.MentionUtilsTests ‑ ParseRole_Pass(role: "<@&123>", id: 123)
Discord.MentionUtilsTests ‑ ParseUser_Fail(user: " ")
Discord.MentionUtilsTests ‑ ParseUser_Fail(user: "<12!3@>")
Discord.MentionUtilsTests ‑ ParseUser_Fail(user: "<123>")
Discord.MentionUtilsTests ‑ ParseUser_Fail(user: "invalid")
Discord.MentionUtilsTests ‑ ParseUser_Null
Discord.MentionUtilsTests ‑ ParseUser_Pass(user: "<@!123>", id: 123)
Discord.MentionUtilsTests ‑ ParseUser_Pass(user: "<@123>", id: 123)
Discord.MessageHelperTests ‑ IgnoreEscapedCodeBlocks(testData: "\\` @everyone \\`")
Discord.MessageHelperTests ‑ IgnoreEscapedCodeBlocks(testData: "\\`\\`\\` @everyone \\`\\`\\`")
Discord.MessageHelperTests ‑ IgnoreEscapedCodeBlocks(testData: "hey\\`\\`\\`@everyone\\`\\`\\`!!")
Discord.MessageHelperTests ‑ ParseChannel(channelTag: "**<#429115823748284417>**")
Discord.MessageHelperTests ‑ ParseChannel(channelTag: "<#429115823748284417>")
Discord.MessageHelperTests ‑ ParseChannel(channelTag: "<><#429115823748284417>")
Discord.MessageHelperTests ‑ ParseEmoji(emoji: "**<:test:537920404019216384>**")
Discord.MessageHelperTests ‑ ParseEmoji(emoji: "<:test:537920404019216384>")
Discord.MessageHelperTests ‑ ParseEmoji(emoji: "<><:test:537920404019216384>")
Discord.MessageHelperTests ‑ ParseEveryone(everyone: "**@everyone**")
Discord.MessageHelperTests ‑ ParseEveryone(everyone: "@everyone")
Discord.MessageHelperTests ‑ ParseHere(here: "**@here**")
Discord.MessageHelperTests ‑ ParseHere(here: "@here")
Discord.MessageHelperTests ‑ ParseRole(roleTag: "**<@&163184946742034432>**")
Discord.MessageHelperTests ‑ ParseRole(roleTag: "<><@&163184946742034432>")
Discord.MessageHelperTests ‑ ParseRole(roleTag: "<@&163184946742034432>")
Discord.MessageHelperTests ‑ ParseRole(roleTag: "__<@&163184946742034432>__")
Discord.MessageHelperTests ‑ ParseTagsAroundCode(testData: "<@&163184946742034432> ``` code block 1 ```")
Discord.MessageHelperTests ‑ ParseTagsAroundCode(testData: "` code block 1 ``` ` code block 2 ``` <@&163184946"···)
Discord.MessageHelperTests ‑ ParseTagsAroundCode(testData: "`` <@&163184946742034432>")
Discord.MessageHelperTests ‑ ParseTagsAroundCode(testData: "``` code ``` @here ``` more ```")
Discord.MessageHelperTests ‑ ParseTagsAroundCode(testData: "``` code ``` ``` code ``` @here ``` code ``` ``` m"···)
Discord.MessageHelperTests ‑ ParseTagsAroundCode(testData: "``` code block 1 ``` ``` code block 2 ``` <@&16318"···)
Discord.MessageHelperTests ‑ ParseTagsInCode(testData: "` @everyone @here <@163184946742034432> <@&1631849"···)
Discord.MessageHelperTests ‑ ParseTagsInCode(testData: "` @here `")
Discord.MessageHelperTests ‑ ParseTagsInCode(testData: "`<:test:537920404019216384>`")
Discord.MessageHelperTests ‑ ParseTagsInCode(testData: "`<@163184946742034432>`")
Discord.MessageHelperTests ‑ ParseTagsInCode(testData: "`@everyone`")
Discord.MessageHelperTests ‑ ParseTagsInCode(testData: "``` @everyone  `")
Discord.MessageHelperTests ‑ ParseTagsInCode(testData: "``` @everyone  ``")
Discord.MessageHelperTests ‑ ParseTagsInCode(testData: "``` test ``` ```cs <@163184946742034432> ```")
Discord.MessageHelperTests ‑ ParseTagsInCode(testData: "```@everyone```")
Discord.MessageHelperTests ‑ ParseTagsInCode(testData: "```cs <@163184946742034432> ```")
Discord.MessageHelperTests ‑ ParseTagsInCode(testData: "```cs \n @everyone```")
Discord.SnowflakeUtilsTests ‑ FromSnowflake
Discord.SnowflakeUtilsTests ‑ ToSnowflake
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-1s", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-2m", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-2m1s", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-3h", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-3h1s", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-3h2m", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-3h2m1s", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-4d", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-4d1s", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-4d2m", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-4d2m1s", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-4d3h", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-4d3h1s", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-4d3h2m", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "-4d3h2m1s", isNegative: True)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "1s", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "2m", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "2m1s", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "3h", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "3h1s", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "3h2m", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "3h2m1s", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "4d", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "4d1s", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "4d2m", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "4d2m1s", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "4d3h", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "4d3h1s", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "4d3h2m", isNegative: False)
Discord.TimeSpanTypeReaderTests ‑ TestTimeSpanParse(input: "4d3h2m1s", isNegative: False)
Discord.TokenUtilsTests ‑ BearerTokenDoesNotThrowExceptions(token: "123123123")
Discord.TokenUtilsTests ‑ BearerTokenDoesNotThrowExceptions(token: "6qrZcUqja7812RVdnEKjpzOL4CvHBFG")
Discord.TokenUtilsTests ‑ BearerTokenDoesNotThrowExceptions(token: "937it3ow87i4ery69876wqire")
Discord.TokenUtilsTests ‑ BearerTokenDoesNotThrowExceptions(token: "MTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze4b7C"···)
Discord.TokenUtilsTests ‑ BotTokenDoesNotThrowExceptions(token: "MTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze4b7C"···)
Discord.TokenUtilsTests ‑ BotTokenInvalidThrowsArgumentException(token: " MTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze4b7"···)
Discord.TokenUtilsTests ‑ BotTokenInvalidThrowsArgumentException(token: "6qrZcUqja7812RVdnEKjpzOL4CvHBFG")
Discord.TokenUtilsTests ‑ BotTokenInvalidThrowsArgumentException(token: "937it3ow87i4ery69876wqire")
Discord.TokenUtilsTests ‑ BotTokenInvalidThrowsArgumentException(token: "MTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze4b7C"···)
Discord.TokenUtilsTests ‑ BotTokenInvalidThrowsArgumentException(token: "This is an invalid token, but it passes the check "···)
Discord.TokenUtilsTests ‑ BotTokenInvalidThrowsArgumentException(token: "This is invalid")
Discord.TokenUtilsTests ‑ BotTokenInvalidThrowsArgumentException(token: "\nMTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze4b"···)
Discord.TokenUtilsTests ‑ BotTokenInvalidThrowsArgumentException(token: "\r\nMTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze"···)
Discord.TokenUtilsTests ‑ BotTokenInvalidThrowsArgumentException(token: "\tMTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze4b"···)
Discord.TokenUtilsTests ‑ CheckBotTokenValidity(token: "", expected: False)
Discord.TokenUtilsTests ‑ CheckBotTokenValidity(token: "MTk4NjIyNDgzNDcxOTI1MjQ4", expected: False)
Discord.TokenUtilsTests ‑ CheckBotTokenValidity(token: "MTk4NjIyNDgzNDcxOTI1MjQ4. this part is invalid. th"···, expected: True)
Discord.TokenUtilsTests ‑ CheckBotTokenValidity(token: "MTk4NjIyNDgzNDcxOTI1MjQ4.", expected: False)
Discord.TokenUtilsTests ‑ CheckBotTokenValidity(token: "MTk4NjIyNDgzNDcxOTI1MjQ4..", expected: True)
Discord.TokenUtilsTests ‑ CheckBotTokenValidity(token: "MTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze4b7C"···, expected: True)
Discord.TokenUtilsTests ‑ CheckBotTokenValidity(token: "NDI4NDc3OTQ0MDA5MTk1NTIw.xxxx.xxxxx", expected: True)
Discord.TokenUtilsTests ‑ CheckBotTokenValidity(token: null, expected: False)
Discord.TokenUtilsTests ‑ DecodeBase64UserId(encodedUserId: " ", isNull: True, expectedUserId: 0)
Discord.TokenUtilsTests ‑ DecodeBase64UserId(encodedUserId: "", isNull: True, expectedUserId: 0)
Discord.TokenUtilsTests ‑ DecodeBase64UserId(encodedUserId: "NDI4NDc3OTQ0MDA5MTk1NTIw", isNull: False, expectedUserId: 428477944009195520)
Discord.TokenUtilsTests ‑ DecodeBase64UserId(encodedUserId: "these chars aren't allowed @U#)*@#!)*", isNull: True, expectedUserId: 0)
Discord.TokenUtilsTests ‑ DecodeBase64UserId(encodedUserId: null, isNull: True, expectedUserId: 0)
Discord.TokenUtilsTests ‑ NullOrWhitespaceToken(token: "    ")
Discord.TokenUtilsTests ‑ NullOrWhitespaceToken(token: " ")
Discord.TokenUtilsTests ‑ NullOrWhitespaceToken(token: "")
Discord.TokenUtilsTests ‑ NullOrWhitespaceToken(token: "\t")
Discord.TokenUtilsTests ‑ NullOrWhitespaceToken(token: null)
Discord.TokenUtilsTests ‑ UnrecognizedTokenType(type: -1)
Discord.TokenUtilsTests ‑ UnrecognizedTokenType(type: 4)
Discord.TokenUtilsTests ‑ UnrecognizedTokenType(type: 7)
Discord.TokenUtilsTests ‑ WebhookTokenDoesNotThrowExceptions(token: "123123123")
Discord.TokenUtilsTests ‑ WebhookTokenDoesNotThrowExceptions(token: "6qrZcUqja7812RVdnEKjpzOL4CvHBFG")
Discord.TokenUtilsTests ‑ WebhookTokenDoesNotThrowExceptions(token: "937it3ow87i4ery69876wqire")
Discord.TokenUtilsTests ‑ WebhookTokenDoesNotThrowExceptions(token: "MTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze4b7C"···)
Discord.TypeReaderTests ‑ TestMultiple
Discord.TypeReaderTests ‑ TestNamedArgumentReader
Discord.TypeReaderTests ‑ TestNonPatternInput
Discord.TypeReaderTests ‑ TestQuotedArgumentValue