Skip to content
This repository has been archived by the owner on Jun 15, 2019. It is now read-only.

Make getThingInfo return additional information for a new modmail thread. #803

Open
creesch opened this issue Jan 9, 2017 · 2 comments
Open
Assignees
Milestone

Comments

@creesch
Copy link
Member

creesch commented Jan 9, 2017

Needed for the replaceToken function which in turn is needed in order to be able to close #787

@creesch creesch self-assigned this Jan 9, 2017
@creesch creesch added this to the 3.6 milestone Jan 9, 2017
@creesch
Copy link
Member Author

creesch commented Jan 9, 2017

That or make a new function for it... considering that it is next to impossible to feed it a "thing" since the information is spread out over an entire page...

Probably the latter because that also allows us to grab new stuff like:

  • isBanned
  • isMuted
  • latestSubmissions
  • latestModmails
  • latestComments

Now that I have thought about it a bit more, I am probably am going to do the latter and make a new clean function for it.

@creesch creesch changed the title Make getThingInfo return all information for a new modmail thread. Make getThingInfo return all information for a new modmail thread. & Alternative make a new "getModmailInfo" Jan 9, 2017
@creesch
Copy link
Member Author

creesch commented Feb 9, 2017

This is halfway done. It now returns the proper information.

I still want to add the new information so it can be used in tokens.

Good enough for 3.6 though :)

@creesch creesch changed the title Make getThingInfo return all information for a new modmail thread. & Alternative make a new "getModmailInfo" Make getThingInfo return additional information for a new modmail thread. Feb 10, 2017
@creesch creesch modified the milestones: 3.x, 3.6 Feb 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant