3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-19 15:30:00 +00:00
zeppelin/backend/src/data/entities/SlowmodeChannel.ts

15 lines
264 B
TypeScript
Raw Normal View History

import { Column, Entity, PrimaryColumn } from "typeorm";
2018-12-15 17:04:04 +02:00
@Entity("slowmode_channels")
export class SlowmodeChannel {
@Column()
@PrimaryColumn()
guild_id: string;
@Column()
@PrimaryColumn()
channel_id: string;
@Column() slowmode_seconds: number;
}