Inital commit

This commit is contained in:
Max Isom 2020-03-09 11:57:39 -05:00
parent afadcb9ee5
commit eca84c8b69
14 changed files with 2884 additions and 0 deletions

5
src/models/index.ts Normal file
View file

@ -0,0 +1,5 @@
import Settings from './settings';
export {
Settings
};

18
src/models/settings.ts Normal file
View file

@ -0,0 +1,18 @@
import {Table, Column, PrimaryKey, Model, Default} from 'sequelize-typescript';
@Table
export default class Settings extends Model<Settings> {
@PrimaryKey
@Column
guildId!: string;
@Column
prefix!: string;
@Column
channel!: string;
@Default(false)
@Column
finishedSetup!: boolean;
}