Lots of little updates to the discord notifications.
NOTE: I have not tested these yet! If someone else would that would be great!
Either way, the discord notifications have been adjusted to remove the "ping_me" option altogether. Now, the user can select one of five levels for discord notifications (explained in the config file) and it should check dynamically based on the level of the notification coming through as well as what the user has set. This allows finer control and no need to check for a boolean and keeps everything together.
I also updated the win percent and time to win so that they're updated when the number of runs and stuff are added. That way they don't need to be calculated on the fly when sending a discord notification or viewing results on the screen.
I also wrote a little script (thanks to some help from stack overflow) on how to get common colors from an image. This means that the discord embeds should have a good color based on the shiny sprite so that it looks nice. I had to hand select some. Hopefully it will read them as well.
Lots of little updates to the discord notifications.
NOTE: I have not tested these yet! If someone else would that would be great!
Either way, the discord notifications have been adjusted to remove the "ping_me" option altogether. Now, the user can select one of five levels for discord notifications (explained in the config file) and it should check dynamically based on the level of the notification coming through as well as what the user has set. This allows finer control and no need to check for a boolean and keeps everything together.
I also updated the win percent and time to win so that they're updated when the number of runs and stuff are added. That way they don't need to be calculated on the fly when sending a discord notification or viewing results on the screen.
I also wrote a little script (thanks to some help from stack overflow) on how to get common colors from an image. This means that the discord embeds should have a good color based on the shiny sprite so that it looks nice. I had to hand select some. Hopefully it will read them as well.