mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-09-29 22:45:58 +03:00
15 lines
274 B
JavaScript
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);
|
||
|
}
|
||
|
};
|