ban reaction
This commit is contained in:
parent
b51e508357
commit
0529a9d4d7
13 changed files with 305 additions and 79 deletions
|
@ -4,7 +4,6 @@ export interface BanReactionAttributes {
|
|||
id: number;
|
||||
guild: string;
|
||||
channel: string;
|
||||
reaction: string;
|
||||
}
|
||||
|
||||
export interface BanReactionCreationAttributes extends Optional<BanReactionAttributes, 'id'> { }
|
||||
|
@ -28,11 +27,7 @@ export default function BanRole(sequelize: Sequelize) {
|
|||
channel: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: false,
|
||||
},
|
||||
reaction: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: false,
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
// Sync the model with the database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue