Add time_and_date plugin. Use it for timezones and date formats around the bot.
This commit is contained in:
parent
cffb0dbd6b
commit
4ae8cf85a3
67 changed files with 543 additions and 177 deletions
14
backend/src/data/entities/MemberTimezone.ts
Normal file
14
backend/src/data/entities/MemberTimezone.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
import { Column, Entity, PrimaryColumn } from "typeorm";
|
||||
|
||||
@Entity("member_timezones")
|
||||
export class MemberTimezone {
|
||||
@Column()
|
||||
@PrimaryColumn()
|
||||
guild_id: string;
|
||||
|
||||
@Column()
|
||||
@PrimaryColumn()
|
||||
member_id: string;
|
||||
|
||||
@Column() timezone: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue