Steps to reproduce:
Make a role with a hex code color that ends in at least one 0 (such as #000000)
Call ;role testRole
See that it drops all the zeros at the end
Examples:
Expected results:
Role 'Green'
ID
419553424158359562
Created at
Sat 2018/03/03 17:55:31 UTC
Colour
#2ecc61
Hoisted
False
Managed
False
Wrong Results(color is white/#000000):
Role 'Is Here'
ID
585538653929865220
Created at
Tue 2019/06/04 18:41:33 UTC
Colour
#
Hoisted
False
Managed
True
Role with 00 at the end of the hexcode
Role 'Summer'
ID
456105336890195979
Created at
Tue 2018/06/12 14:39:46 UTC
Colour
#f59d
Hoisted
False
Managed
False
Steps to reproduce: Make a role with a hex code color that ends in at least one
0
(such as #000000) Call;role testRole
See that it drops all the zeros at the endExamples: Expected results:
Wrong Results(color is white/#000000):
Role with 00 at the end of the hexcode