async def is_afk(): """ Return if the user is AFK """ to_check = REDIS.get('is_afk') if to_check: return True return False
async def lfgetLogging(): """ Get Logging for LastFM """ loggingup = REDIS.get('lflog') if loggingup is True: return True return False
async def getexception(): """ Get if Spotify had exception before """ exceptcheck = REDIS.get('exceptionexist') if exceptcheck is True: return True return False
async def getspotifycheck(): """ Get Spotify Check (Status) """ spotifychk = REDIS.get('spotifycheck') if spotifychk is True: return True return False
async def getlastfmcheck(): """ Get LastFM Check (Status) """ lastcheck = REDIS.get('lastfmcheck') if lastcheck is True: return True return False
async def lfgetartist(): """ Get LastFM Artist """ return REDIS.get('lfartist').decode("UTF-8")
async def sfgetartist(): """ Get Spotify Artist """ return REDIS.get('sfartist').decode("UTF-8")
async def sfgetsong(): """ Get Spotify Song """ return REDIS.get('sfsong').decode("UTF-8")
async def afk_reason(): return REDIS.get('is_afk').decode("UTF-8")
async def getuserID(): """ Get UserID for LastFM """ return REDIS.get('userid')
async def lfgetLogging(): loggingup = REDIS.get('lflog') if loggingup is True: return True return False
async def getuserID(): return REDIS.get('userid')
async def getlastfmcheck(): lastcheck = REDIS.get('lastfmcheck') if lastcheck is True: return True return False
async def lfgetsong(): return REDIS.get('lfsong').decode("UTF-8")
async def lfgetartist(): return REDIS.get('lfartist').decode("UTF-8")
async def getspotifycheck(): spotifychk = REDIS.get('spotifycheck') if spotifychk is True: return True return False
async def getexception(): exceptcheck = REDIS.get('exceptionexist') if exceptcheck is True: return True return False
async def lfgetsong(): """ Get LastFM Song """ return REDIS.get('lfsong').decode("UTF-8")
async def is_afk(): to_check = REDIS.get('is_afk') if to_check: return True else: return False
async def is_afk(): to_check = REDIS.get("is_afk") if to_check: return True return False
async def afk_reason(): """ Get AFK Reason """ return REDIS.get('is_afk').decode("UTF-8")
async def afk_reason(): return strb(REDIS.get("is_afk"))
async def afk_reason(): return strb(REDIS.get('is_afk'))
async def is_afk(): to_check = REDIS.get("is_afk") return bool(to_check)