diff --git a/src/class/Util.ts b/src/class/Util.ts index 2d08abf..279cacc 100644 --- a/src/class/Util.ts +++ b/src/class/Util.ts @@ -276,7 +276,7 @@ export default class Util { } else date = null; } - const expiration = { date, processed }; + const expiration: { date: Date; processed: boolean } = { date, processed }; logInput.expiration = expiration; const log = new this.client.db.Moderation(logInput); @@ -290,8 +290,8 @@ export default class Util { case 0: archType = 'Technician'; embedTitle = 'Cloud Account | Create'; color = '#00ff00'; break; case 1: archType = 'Technician'; embedTitle = 'Account Warning | Warn'; color = '#ffff00'; break; case 2: archType = 'Technician'; embedTitle = 'Account Infraction | Lock'; color = '#ff6600'; break; - case 3: archType = 'Technician'; embedTitle = 'Account Reclaim | Unlock'; color = '#0099ff'; break; - case 4: archType = 'Director'; embedTitle = 'Cloud Account | Delete'; color = '#ff0000'; break; + case 3: archType = 'Technician'; embedTitle = 'Account Infraction | Unlock'; color = '#0099ff'; break; + case 4: archType = 'Manager'; embedTitle = 'Cloud Account | Delete'; color = '#ff0000'; break; } const req = await axios.get('https://loc.sh/int/directory'); const find = req.data.find((mem) => mem.userID === moderator.id);