do you conform to snake-case now??

This commit is contained in:
SeaswimmerTheFsh 2023-07-01 10:07:47 -04:00
parent 452f130ec1
commit b99313a6bd

View file

@ -10,8 +10,8 @@ class Info(commands.Cog):
self.client = client self.client = client
@staticmethod @staticmethod
def rgb_to_hex(R, G, B): def rgb_to_hex(r, g, b):
return f'#{R:02x}{G:02x}{B:02x}' return f'#{r:02x}{g:02x}{b:02x}'
async def upload_to_revolt(self, ctx: commands.Context, asset: revolt.Asset, color: bool = False): 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.""" """Uploads an asset to Revolt and returns the asset ID."""