DiscordTickets/src/stdin/sync.js
2022-09-30 16:05:28 +01:00

15 lines
274 B
JavaScript

const { StdinCommand } = require('@eartharoid/dbf');
const sync = require('../lib/sync');
module.exports = class extends StdinCommand {
constructor(client, options) {
super(client, {
...options,
id: 'sync',
});
}
async run() {
await sync(this.client);
}
};