Updated the Channel.ts model

This commit is contained in:
Mathias Wagner 2023-11-11 18:55:44 +01:00
parent 276ea0f971
commit 933eec0f53
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -3,7 +3,7 @@ import {DataTypes, InferAttributes, InferCreationAttributes, Model} from "sequel
export interface IChannel extends Model<InferAttributes<IChannel>, InferCreationAttributes<IChannel>> {
guildId: number
clientId: number
channelId: number
webhookToken: string
langCode: string
emotes: number
@ -17,7 +17,7 @@ const ChannelSchema = sequelize.define<IChannel>('channels', {
type: DataTypes.BIGINT,
allowNull: false
},
clientId: {
channelId: {
type: DataTypes.BIGINT,
allowNull: false
},