mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-12-21 20:08:51 +01:00
refactor(db): fix warning table to follow prisma naming convention
This commit is contained in:
@@ -2,7 +2,7 @@ import { container } from '@sapphire/framework';
|
||||
import type { Snowflake } from 'discord.js';
|
||||
|
||||
export async function addWarn(userId: Snowflake, modId: Snowflake, message: string) {
|
||||
await container.database.warnings.create({
|
||||
await container.database.warning.create({
|
||||
data: {
|
||||
user: {
|
||||
connect: {
|
||||
|
||||
Reference in New Issue
Block a user