modules/economy.py
async def balance(self, ctx, user:discord.Member=None):
        """Shows yours or another users balance."""
        if not user:
            user = ctx.author

        await self.__check_level_account(user.id)

        if await self.__has_account(user.id):
            balance = await self.__get_balance(user.id)

            await ctx.send(f"Balance: **${balance}**")
        else:
            await ctx.send("Balance: **$0**")
Shows yours or another users balance.
Shows yours or another users balance.
Shows yours or another users balance .
async def balance(self, ctx, user:discord.Member=None):
        if not user:
            user = ctx.author
        await self.__check_level_account(user.id)
        if await self.__has_account(user.id):
            balance = await self.__get_balance(user.id)
            await ctx.send(f"Balance: **${balance}**")
        else:
            await ctx.send("Balance: **$0**")
async def balance ( self , ctx , user : discord . Member = None ) : if not user : user = ctx . author await self . __check_level_account ( user . id ) if await self . __has_account ( user . id ) : balance = await self . __get_balance ( user . id ) await ctx . send ( f"Balance: **${balance}**" ) else : await ctx . send ( "Balance: **$0**" )
Shows yours or another users balance.
Shows yours or another users balance .
"""Shows yours or another users balance."""
self
ctx
user
discord.Member