feat(wallet): initialize new wallets with a default coin amount
This commit is contained in:
@@ -33,7 +33,7 @@ export async function getOrCreateWallet(userId: string, guildId: string) {
|
||||
return prisma.economyWallet.upsert({
|
||||
where: { userId_guildId: { userId, guildId } },
|
||||
update: {},
|
||||
create: { userId, guildId },
|
||||
create: { userId, guildId, coins: 25 },
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user