mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-03 00:03:13 +00:00
Remove item handling
This commit is contained in:
parent
e3a8894e87
commit
5f1c2a2eb4
2 changed files with 0 additions and 15 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue