Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Commit 626c539

Browse files
committed
Update main script to work with CurrencyAPI
1 parent cb294a7 commit 626c539

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from discord import ApplicationContext, option
2222
from discord.ext import commands
2323
from discord.ext.commands import *
24-
from cogs.economy import new_bank, new_wallet, new_userdat
24+
from cogs.economy import new_userdat
2525
from cogs.isocoin import create_isocoin_key
2626

2727
# Slash option types:
@@ -97,8 +97,8 @@ async def on_ready():
9797

9898
@client.event
9999
async def on_message(ctx):
100-
new_wallet(ctx.author.id)
101-
new_bank(ctx.author.id)
100+
currency.new_wallet(ctx.author.id)
101+
currency.new_bank(ctx.author.id)
102102
create_isocoin_key(ctx.author.id)
103103
new_userdat(ctx.author.id)
104104
if str(ctx.author.id) not in items: items[str(ctx.author.id)] = {}

0 commit comments

Comments
 (0)