From b99313a6bd1ef355ac03090651eb3013769c4352 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh <102361830+SeaswimmerTheFsh@users.noreply.github.com> Date: Sat, 1 Jul 2023 10:07:47 -0400 Subject: [PATCH] do you conform to snake-case now?? --- cogs/info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/info.py b/cogs/info.py index 5578d6e..92524f8 100644 --- a/cogs/info.py +++ b/cogs/info.py @@ -10,8 +10,8 @@ class Info(commands.Cog): self.client = client @staticmethod - def rgb_to_hex(R, G, B): - return f'#{R:02x}{G:02x}{B:02x}' + def rgb_to_hex(r, g, b): + return f'#{r:02x}{g:02x}{b:02x}' async def upload_to_revolt(self, ctx: commands.Context, asset: revolt.Asset, color: bool = False): """Uploads an asset to Revolt and returns the asset ID."""