From 933eec0f53d5e32eda3213a05b93489b79f2e644 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sat, 11 Nov 2023 18:55:44 +0100 Subject: [PATCH] Updated the Channel.ts model --- models/Channel.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/Channel.ts b/models/Channel.ts index 5df594d..d00227c 100644 --- a/models/Channel.ts +++ b/models/Channel.ts @@ -3,7 +3,7 @@ import {DataTypes, InferAttributes, InferCreationAttributes, Model} from "sequel export interface IChannel extends Model, InferCreationAttributes> { guildId: number - clientId: number + channelId: number webhookToken: string langCode: string emotes: number @@ -17,7 +17,7 @@ const ChannelSchema = sequelize.define('channels', { type: DataTypes.BIGINT, allowNull: false }, - clientId: { + channelId: { type: DataTypes.BIGINT, allowNull: false },