DiscordTickets/src/stdin/sync.js

15 lines
274 B
JavaScript
Raw Normal View History

2022-09-30 18:05:28 +03:00
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);
}
};