Updated the Channel.ts model
This commit is contained in:
parent
276ea0f971
commit
933eec0f53
@ -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
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user