forked from engineering/cloudservices
modlogs cmd fix
parent
2ec2c95d9c
commit
c1e10751e3
|
@ -23,6 +23,8 @@ export default class Modlogs extends Command {
|
||||||
|
|
||||||
const formatted = query.map((log) => {
|
const formatted = query.map((log) => {
|
||||||
const { username, moderatorID, reason, type, date } = log;
|
const { username, moderatorID, reason, type, date } = log;
|
||||||
|
this.client.signale.debug(log);
|
||||||
|
this.client.signale.debug(type);
|
||||||
let name: string;
|
let name: string;
|
||||||
if (type === 0) {
|
if (type === 0) {
|
||||||
name = 'Create';
|
name = 'Create';
|
||||||
|
|
Loading…
Reference in New Issue