Skip to content

Commit

Permalink
Fail
Browse files Browse the repository at this point in the history
  • Loading branch information
optimumtact committed Nov 25, 2024
1 parent 951e263 commit f06af31
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gbp/gbp.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async def get_latest_gbp(self):
gbp, user = item
self.postouser[index] = user

@gbp.group()
@gbp.command()
async def find(self, ctx, name=""):
await self.get_latest_gbp()
msg = ""
Expand All @@ -72,7 +72,7 @@ async def find(self, ctx, name=""):
else:
await ctx.send(f"```{msg}```")

@gbp.group()
@gbp.command()
async def at(self, ctx, pos: int):
await self.get_latest_gbp()
if pos in self.postouser:
Expand All @@ -81,7 +81,7 @@ async def at(self, ctx, pos: int):
return
await ctx.send("No user at that position!")

@gbp.group()
@gbp.command()
async def top(self, ctx, up_to_pos: int):
await self.get_latest_gbp()
msg = ""
Expand All @@ -95,7 +95,7 @@ async def top(self, ctx, up_to_pos: int):
else:
await ctx.send(f"```{msg}```")

@gbp.group()
@gbp.command()
async def totals(self, ctx):
await self.get_latest_gbp()
total_pos_gbp = 0
Expand All @@ -109,7 +109,7 @@ async def totals(self, ctx):
f"```There is {total_pos_gbp} positive GBP, and {total_neg_gbp} negative GBP in circulation.```"
)

@gbp.group()
@gbp.command()
async def costs(self, ctx):
response = requests.get(
url="https://raw.githubusercontent.com/tgstation/tgstation/master/.github/gbp.toml"
Expand Down

0 comments on commit f06af31

Please sign in to comment.