Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions cogs/economy.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ async def beg(self, ctx: ApplicationContext):
]
if (randint(1, 100) >= 50):
x = randint(10, 100)
currency.get_wallet(ctx.author.id) += x
currency.add(ctx.author.id, x)
await ctx.respond(embed=discord.Embed(title=random.choice(names), description=f"Oh you poor beggar, here's {x} coin(s) for you. Hope it helps!"))
else: await ctx.respond(embed=discord.Embed(title=random.choice(names), description=f'"{random.choice(fail_responses)}"'))
Expand Down Expand Up @@ -597,7 +596,7 @@ async def withdraw(self, ctx: ApplicationContext, amount):
async def networth(self, ctx: ApplicationContext, user: discord.User=None):
if user == None: user = ctx.author
try:
ntw = get_user_networth(user.id)
ntw = currency.get_user_networth(user.id)
localembed = discord.Embed(name=f"{user.display_name}'s networth", description=f"{ntw} coins", color=color)
await ctx.respond(embed=localembed)
except KeyError: return await ctx.respond("Looks like that user isn't cached yet. Please try again later.", ephemeral=True)
Expand Down
2 changes: 1 addition & 1 deletion cogs/isobank.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, bot):
description="Registers a new IsoBank account with your Discord ID"
)
@option(name="pin", description="Your new account's authentication ID. Must be a 6-digit integer.", type=int)
async def isobank_register(ctx: ApplicationContext, pin:int):
async def isobank_register(self, ctx: ApplicationContext, pin:int):
isobankauth.register(ctx.author.id, pin)
await ctx.respond("Congratulations! Your new IsoBank account has been registered.", ephemeral=True)

Expand Down
1 change: 0 additions & 1 deletion cogs/isocard.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Imports
import discord
import json
import os
import random
import time
from discord import option, ApplicationContext, SlashCommandGroup
Expand Down
3 changes: 1 addition & 2 deletions cogs/minigames.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

# Imports
import discord
import json
import os.path
import framework.isobot.currency
from random import randint
from discord import option, ApplicationContext
from discord import ApplicationContext
from discord.ext import commands

# Variables
Expand Down