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