Updated the Channel.ts model

This commit is contained in:
2023-11-11 18:55:44 +01:00
parent 276ea0f971
commit 933eec0f53

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
},