Skip to content

PaginatedMessage(IEnumerable<string> pages,...) is unusable#14

Open
SubZero0 wants to merge 1 commit intofoxbot:masterfrom
SubZero0:patch-3
Open

PaginatedMessage(IEnumerable<string> pages,...) is unusable#14
SubZero0 wants to merge 1 commit intofoxbot:masterfrom
SubZero0:patch-3

Conversation

@SubZero0
Copy link
Contributor

@SubZero0 SubZero0 commented Jul 1, 2017

image

Using the first ctor (IEnumerable<string>), Pages is null, so GetEmbed is throwing a NullRef.
Because it's probably creating a new PaginatedMessage but it's not related with the current one (so all properties are null).

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

Successfully merging this pull request may close these issues.

1 participant