modlogs cmd fix

merge-requests/1/merge
Matthew 2019-10-27 23:53:15 -04:00
parent 2ec2c95d9c
commit c1e10751e3
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ export default class Modlogs extends Command {
const formatted = query.map((log) => {
const { username, moderatorID, reason, type, date } = log;
this.client.signale.debug(log);
this.client.signale.debug(type);
let name: string;
if (type === 0) {
name = 'Create';