1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 22:23:13 +00:00

Remove item handling

This commit is contained in:
wlinator 2024-03-26 11:07:51 +01:00
parent e3a8894e87
commit 5f1c2a2eb4
2 changed files with 0 additions and 15 deletions

View file

@ -5,7 +5,6 @@ import discord
import pytz import pytz
from dotenv import load_dotenv from dotenv import load_dotenv
from handlers.ItemHandler import ItemHandler
from lib import economy_functions, interaction from lib import economy_functions, interaction
from lib.embeds.error import EconErrors from lib.embeds.error import EconErrors
from lib.embeds.error import GenericErrors from lib.embeds.error import GenericErrors
@ -127,13 +126,6 @@ async def cmd(ctx, bet: int):
embed = blackjack_finished(ctx, Currency.format_human(bet), player_hand_value, embed = blackjack_finished(ctx, Currency.format_human(bet), player_hand_value,
dealer_hand_value, Currency.format_human(payout), status) dealer_hand_value, Currency.format_human(payout), status)
item_reward = ItemHandler(ctx)
field = await item_reward.rave_coin(is_won=is_won, bet=bet, field="")
field = await item_reward.bitch_coin(status, field)
if field is not "":
embed.add_field(name="Extra Rewards", value=field, inline=False)
if playing_embed: if playing_embed:
await ctx.edit(embed=embed, view=None, content=ctx.author.mention) await ctx.edit(embed=embed, view=None, content=ctx.author.mention)
else: else:

View file

@ -6,7 +6,6 @@ from collections import Counter
import discord import discord
import pytz import pytz
from handlers.ItemHandler import ItemHandler
from lib.embeds.error import EconErrors from lib.embeds.error import EconErrors
from config.parser import JsonCache from config.parser import JsonCache
from services.Currency import Currency from services.Currency import Currency
@ -58,12 +57,6 @@ async def cmd(self, ctx, bet):
finished_output = slots_finished(ctx, type, Currency.format_human(bet), finished_output = slots_finished(ctx, type, Currency.format_human(bet),
Currency.format_human(payout), results, emojis) Currency.format_human(payout), results, emojis)
item_reward = ItemHandler(ctx)
field = await item_reward.rave_coin(is_won=is_won, bet=bet, field="")
if field is not "":
finished_output.add_field(name="Extra Rewards", value=field, inline=False)
await ctx.edit(embed=finished_output) await ctx.edit(embed=finished_output)
# user payout # user payout