Skip to content

Commit 4a1bac1

Browse files
committed
Set default color as variable
1 parent f0b598f commit 4a1bac1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from discord.errors import Forbidden
55

66
# color scheme for embeds as rbg
7+
blue_light = (20, 255, 255) # default color
78
yellow = (245, 218, 17) # waring like 'hey, that's not cool'
89
orange = (245, 139, 17) # waring - rather critical like 'no more votes left'
910

@@ -30,7 +31,7 @@ async def send_embed(ctx, embed):
3031

3132
# creating and returning an embed with keyword arguments
3233
# please note that name and value can't be empty - name and value contain a zero width non-joiner
33-
def make_embed(title="", color=(20, 255, 255), name="‌", value="‌", footer=None) -> discord.Embed:
34+
def make_embed(title="", color=blue_light, name="‌", value="‌", footer=None) -> discord.Embed:
3435
"""
3536
Function to generate generate an embed in one function call
3637

0 commit comments

Comments
 (0)