diff --git a/src/commands/sync.ts b/src/commands/sync.ts new file mode 100644 index 0000000..c45aa8c --- /dev/null +++ b/src/commands/sync.ts @@ -0,0 +1,14 @@ +import Logger from "../util/Logger"; +import Interface, { Command } from "./Interface"; +const c = new Logger("/sync", "blue"); + +export default async function handle(command: Command) { + if (!Interface.target) { + c.log("No target specified"); + return; + } + + Interface.target.sync(); + + c.log(`Synced ${Interface.target.account.name}`); +} \ No newline at end of file