3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 15:45:03 +00:00

Add Slowmode plugin

This commit is contained in:
Dragory 2018-12-15 17:04:04 +02:00
parent 7092333326
commit 37b791bd56
7 changed files with 406 additions and 1 deletions

View file

@ -0,0 +1,14 @@
import { Entity, Column, PrimaryColumn } from "typeorm";
@Entity("slowmode_channels")
export class SlowmodeChannel {
@Column()
@PrimaryColumn()
guild_id: string;
@Column()
@PrimaryColumn()
channel_id: string;
@Column() slowmode_seconds: number;
}