3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 23:55:02 +00:00

Fully functional LocatePlugin with alerts in DB and reminders

This commit is contained in:
Nils Blömeke 2019-06-26 01:04:11 +02:00
parent 1ecce52973
commit df1bbe9754
6 changed files with 284 additions and 2 deletions

View file

@ -0,0 +1,20 @@
import { Entity, Column, PrimaryColumn } from "typeorm";
@Entity("vc_alerts")
export class VCAlert {
@Column()
@PrimaryColumn()
id: number;
@Column() guild_id: string;
@Column() requestor_id: string;
@Column() user_id: string;
@Column() channel_id: string;
@Column() expires_at: string;
@Column() body: string;
}