Skip to content
This repository was archived by the owner on Dec 26, 2022. It is now read-only.

Commit 6a8337a

Browse files
authored
🎨 Removed unnecessary castings
1 parent de8f134 commit 6a8337a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cooldowns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def random_color():
2222
"""
2323
Generate a valid random Discord color!
2424
"""
25-
return int(hex(randint(0, 16581375)), 0)
25+
return randint(0, 16581375)
2626

2727
async def get_meme(self) -> Tuple[str, str]:
2828
"""

0 commit comments

Comments
 (0)