25 lines
449 B
JavaScript
25 lines
449 B
JavaScript
|
const Constants = {
|
||
|
MaxTargets: 10
|
||
|
//max 10, premium + 10 for each tier ok
|
||
|
};
|
||
|
|
||
|
class ModerationManager {
|
||
|
|
||
|
constructor(client) {
|
||
|
|
||
|
this.client = client;
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
async handleInfractions(Infraction, message, { targets, parameters, duration, flags, data, opts }) {
|
||
|
|
||
|
const maxTargets = Constants.MaxTargets + message.guild.premium*Constants.MaxTargets;
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
module.exports = ModerationManager;
|