GoldyBot.utility.goldy.hearts

 1import random
 2
 3HEARTS = ["๐Ÿ–ค", "๐Ÿค", "๐Ÿ’™", "๐Ÿ’š", "๐Ÿ’œ", "๐ŸคŽ", "๐Ÿงก", "โค๏ธ", "๐Ÿ’›"]
 4
 5class Hearts:
 6    """๐Ÿ–ค A class of Goldy Bot's lovely hearts. ๐Ÿค"""
 7    BLACK = HEARTS[0]
 8    WHITE = HEARTS[1]
 9    BLUE = HEARTS[2]
10    GREEN = HEARTS[3]
11    PURPLE = HEARTS[4]
12    BROWN = HEARTS[5]
13    ORANGE = HEARTS[6]
14    RED = HEARTS[7]
15    YELLOW = HEARTS[8]
16
17    def random() -> str:
18        """Returns a random coloured heart. ๐Ÿ’›๐Ÿ’œ๐Ÿ’™"""
19        return random.choice(HEARTS)
class Hearts:
 6class Hearts:
 7    """๐Ÿ–ค A class of Goldy Bot's lovely hearts. ๐Ÿค"""
 8    BLACK = HEARTS[0]
 9    WHITE = HEARTS[1]
10    BLUE = HEARTS[2]
11    GREEN = HEARTS[3]
12    PURPLE = HEARTS[4]
13    BROWN = HEARTS[5]
14    ORANGE = HEARTS[6]
15    RED = HEARTS[7]
16    YELLOW = HEARTS[8]
17
18    def random() -> str:
19        """Returns a random coloured heart. ๐Ÿ’›๐Ÿ’œ๐Ÿ’™"""
20        return random.choice(HEARTS)

๐Ÿ–ค A class of Goldy Bot's lovely hearts. ๐Ÿค

Hearts()
BLACK = '๐Ÿ–ค'
WHITE = '๐Ÿค'
BLUE = '๐Ÿ’™'
GREEN = '๐Ÿ’š'
PURPLE = '๐Ÿ’œ'
BROWN = '๐ŸคŽ'
ORANGE = '๐Ÿงก'
RED = 'โค๏ธ'
YELLOW = '๐Ÿ’›'
def random() -> str:
18    def random() -> str:
19        """Returns a random coloured heart. ๐Ÿ’›๐Ÿ’œ๐Ÿ’™"""
20        return random.choice(HEARTS)

Returns a random coloured heart. ๐Ÿ’›๐Ÿ’œ๐Ÿ’™