Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field value length must be less than or equal to 1024 #47

Open
NockyCZ opened this issue Nov 11, 2024 · 0 comments
Open

Field value length must be less than or equal to 1024 #47

NockyCZ opened this issue Nov 11, 2024 · 0 comments

Comments

@NockyCZ
Copy link
Owner

NockyCZ commented Nov 11, 2024

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.ArgumentException: Field value length must be less than or equal to 1024. (Parameter 'Value')
at Discord.EmbedFieldBuilder.set_Value(Object value)
at Discord.EmbedBuilder.AddField(String name, Object value, Boolean inline)
at DiscordUtilities.DiscordUtilities.GetEmbedBuilder(Builder embedBuilder) in C:\Users\Mates-PC\Desktop\SourceFactory\Projects\CSharp\Discord Utilities\src\DiscordUtilities\Functions\Helpers.cs:line 241
at DiscordUtilities.DiscordUtilities.SendMessageToChannel(UInt64 channelId, String content, Builder embed, Builder components) in C:\Users\Mates-PC\Desktop\SourceFactory\Projects\CSharp\Discord Utilities\src\DiscordUtilities\API\Actions.cs:line 116
at EventNotifications.EventNotifications.PerformMatchEnd() in C:\Users\Mates-PC\Desktop\SourceFactory\Projects\CSharp\Discord Utilities\src\Addons\EventNotifications\EventNotifications.cs:line 196
at EventNotifications.EventNotifications.OnMatchEnd(EventCsWinPanelMatch event, GameEventInfo info) in C:\Users\Mates-PC\Desktop\SourceFactory\Projects\CSharp\Discord Utilities\src\Addons\EventNotifications\EventNotifications.cs:line 257
at InvokeStub_GameEventHandler1.Invoke(Object, Span1)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant