mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 18:21:25 +03:00
Add sync
stdin command
This commit is contained in:
15
src/stdin/sync.js
Normal file
15
src/stdin/sync.js
Normal file
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user