ban reaction

This commit is contained in:
404invalid-user 2025-03-20 21:30:17 +00:00
parent b51e508357
commit 0529a9d4d7
13 changed files with 305 additions and 79 deletions

View file

@ -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