We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5457ef3 commit 29354e0Copy full SHA for 29354e0
src/utils.py
@@ -1,12 +1,12 @@
1
-import re
2
-
3
import discord
4
from discord.errors import Forbidden
5
6
# color scheme for embeds as rbg
7
-blue_light = (20, 255, 255) # default color
8
-yellow = (245, 218, 17) # waring like 'hey, that's not cool'
9
-orange = (245, 139, 17) # waring - rather critical like 'no more votes left'
+blue_light = discord.Color.from_rgb(20, 255, 255) # default color
+green = discord.Color.from_rgb(142, 250, 60) # success green
+yellow = discord.Color.from_rgb(245, 218, 17) # waring like 'hey, that's not cool'
+orange = discord.Color.from_rgb(245, 139, 17) # waring - rather critical like 'no more votes left'
+red = discord.Color.from_rgb(255, 28, 25) # error red
10
11
12
async def send_embed(ctx, embed):
0 commit comments