cleaning up more
This commit is contained in:
parent
6909900181
commit
452f130ec1
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ class Info(commands.Cog):
|
|||
self.client = client
|
||||
|
||||
@staticmethod
|
||||
def rgb_to_hex(r, g, b): # pylint: disable=invalid-name
|
||||
return '#{:02x}{:02x}{:02x}'.format(r, g, b) # pylint: disable=consider-using-f-string
|
||||
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."""
|
||||
|
|
Loading…
Reference in a new issue