NMV 0.8.0 - Big refactor and linting fixes

This commit is contained in:
Casper Warden
2025-01-17 23:37:54 +00:00
parent 3870861b0a
commit 53659008ac
210 changed files with 17588 additions and 18300 deletions

View File

@@ -1,9 +1,10 @@
import { ExampleBot } from '../ExampleBot';
import { GameObject, Utils } from '../../lib';
import type { GameObject} from '../../lib';
import { Utils } from '../../lib';
class TaskInventory extends ExampleBot
{
async onConnected(): Promise<void>
public async onConnected(): Promise<void>
{
let attachments: GameObject[] = [];
while(!attachments.length)
@@ -29,7 +30,7 @@ class TaskInventory extends ExampleBot
new TaskInventory().run().then(() =>
{
}).catch((err) =>
}).catch((err: unknown) =>
{
console.error(err);
});