cogs/utils/__init__.py
Consider simplifying this complex logical expression. Open
Open
if a < 125 or (r < 15 and g < 15 and b < 15) or (r > 254 and g > 254 and b > 254):
continue
return r, g, b
Avoid too many return
statements within this function. Open
Open
return "moments"
Avoid too many return
statements within this function. Open
Open
return "{0} minutes".format(minutes)
Avoid too many return
statements within this function. Open
Open
return "1 hour"