mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-22 07:43:08 +02:00
style: lint
This commit is contained in:
parent
b8dd1900e9
commit
c3d6d70316
@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-console */
|
||||
const { randomBytes } = require('crypto');
|
||||
const { short } = require('leeks.js');
|
||||
|
||||
|
@ -13,7 +13,7 @@ module.exports = class CreateUserCommand extends UserCommand {
|
||||
});
|
||||
}
|
||||
|
||||
async run(interaction) {
|
||||
async run(/* interaction */) {
|
||||
// TODO: isStaff?
|
||||
// TODO: user->create
|
||||
// select category
|
||||
|
@ -121,9 +121,9 @@ module.exports = class extends Listener {
|
||||
// staleSince: Date.now(),
|
||||
// });
|
||||
|
||||
for (const [ticketId, $] of client.tickets.$stale) {
|
||||
// ⌛
|
||||
}
|
||||
// for (const [ticketId, $] of client.tickets.$stale) {
|
||||
// // ⌛
|
||||
// }
|
||||
}, ms('5m'));
|
||||
}
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
// TODO
|
||||
/* eslint-disable no-undef */
|
||||
module.exports = joi.object({
|
||||
archive: joi.boolean().optional(),
|
||||
autoClose: joi.number().min(3_600_000).optional(),
|
||||
|
@ -12,7 +12,7 @@ module.exports = class extends StdinCommand {
|
||||
const toEval = input.join(' ');
|
||||
try {
|
||||
const res = await eval(toEval);
|
||||
console.log(res);
|
||||
console.log(res); // eslint-disable-line no-console
|
||||
return true;
|
||||
} catch (error) {
|
||||
this.client.log.error(error);
|
||||
|
Loading…
Reference in New Issue
Block a user