From 90c9c80aec806c63ecfc279905e04cac6f773389 Mon Sep 17 00:00:00 2001 From: PhenoM4n4n <61065078+phenom4n4n@users.noreply.github.com> Date: Mon, 16 Nov 2020 10:14:23 -0800 Subject: [PATCH] [rndstatus] competing (#186) * competing * space --- rndstatus/rndstatus.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/rndstatus/rndstatus.py b/rndstatus/rndstatus.py index 32209ad..1e56ace 100644 --- a/rndstatus/rndstatus.py +++ b/rndstatus/rndstatus.py @@ -101,15 +101,16 @@ class RndStatus(commands.Cog): 0 = Playing 1 = Streaming 2 = Listening - 3 = Watching""" - if 0 <= status_type <= 3: - rnd_type = {0: "playing", 1: "streaming", 2: "listening", 3: "watching"} + 3 = Watching + 5 = Competing""" + if 0 <= status_type <= 3 or 0 != 5: + rnd_type = {0: "playing", 1: "streaming", 2: "listening", 3: "watching", 5: "competing"} await self.config.type.set(status_type) await self.presence_updater() await ctx.send(f"Rndstatus activity type set to {rnd_type[status_type]}.") else: await ctx.send( - f"Status activity type must be between 0 and 3. " + f"Status activity type must be between 0 and 3 or 5. " f"See `{ctx.prefix}help rndstatus type` for more information." )