From 798d2b3a83e6d75b855b5d87bef09ca98bd42023 Mon Sep 17 00:00:00 2001 From: Brad Duncan <51077147+XargsUK@users.noreply.github.com> Date: Mon, 5 Jul 2021 17:33:17 +0100 Subject: [PATCH] timeout and econ Updated the + - points to match server economy updated text prompts changed timeout from 120 to 20 --- recyclingplant/recyclingplant.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/recyclingplant/recyclingplant.py b/recyclingplant/recyclingplant.py index cc7bf57..a8bec35 100644 --- a/recyclingplant/recyclingplant.py +++ b/recyclingplant/recyclingplant.py @@ -53,7 +53,7 @@ class RecyclingPlant(Cog): return m.author == ctx.author and m.channel == ctx.channel try: - answer = await self.bot.wait_for("message", timeout=120, check=check) + answer = await self.bot.wait_for("message", timeout=20, check=check) except asyncio.TimeoutError: answer = None @@ -63,19 +63,19 @@ class RecyclingPlant(Cog): ) elif answer.content.lower().strip() == used["action"]: await ctx.send( - "Congratulations! You put ``{}`` down the correct chute! (**+50**)".format( + "Congratulations! You put ``{}`` down the correct chute! (**+500**)".format( used["object"] ) ) - reward += 50 + reward += 500 x += 1 elif answer.content.lower().strip() == opp: await ctx.send( - "{}, you little brute, you put it down the wrong chute! (**-50**)".format( + "{}, you little brute, you put it down the wrong chute! (**-500**)".format( ctx.author.display_name ) ) - reward -= 50 + reward -= 500 elif answer.content.lower().strip() == "exit": await ctx.send( "{} has been relived of their duty.".format(ctx.author.display_name)