Remove spam logging
This commit is contained in:
parent
a07f7d7087
commit
67d43bc0a1
@ -34,16 +34,18 @@ export default async function handle(command: Command) {
|
|||||||
}
|
}
|
||||||
case "giveall": {
|
case "giveall": {
|
||||||
for (const id in AvatarExcelTable) {
|
for (const id in AvatarExcelTable) {
|
||||||
Avatar.create(uid, parseInt(id)).then(() => c.log(`All avatars added to ${uid}`));
|
await Avatar.create(uid, parseInt(id));
|
||||||
}
|
}
|
||||||
|
c.log(`All avatars added to ${uid}`);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "removeall": {
|
case "removeall": {
|
||||||
for (const id in AvatarExcelTable) {
|
for (const id in AvatarExcelTable) {
|
||||||
if (!(id == '1001')) {
|
if (!(id == '1001')) {
|
||||||
Avatar.remove(uid, parseInt(id)).then(() => c.log(`All avatars removed from ${uid}`));
|
await Avatar.remove(uid, parseInt(id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
c.log(`All avatars removed from ${uid}`);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user