medallyon / grogsile.org-archive

The (old) Official Bot For ESO International
https://discordapp.com/invite/0jGipOeWW06jNmlL
Apache License 2.0
1 stars 0 forks source link

New rich embeds show values from previous calls #57

Closed medallyon closed 7 years ago

medallyon commented 7 years ago

This is caused because the embeds use an empty object as a template for every value. Instead of overwriting the values with the default empty strings "", they assume the previous values if there were any and add the new values to the old object. Will have to make a separate function that creates a truly empty object to use for empty Rich Embeds.