mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 18:21:25 +03:00
Update to @eartharoid/dbf@0.3
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
const { StdinCommand } = require('@eartharoid/dbf');
|
||||
|
||||
module.exports = class extends StdinCommand {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
id: 'stdinEval',
|
||||
name: 'eval',
|
||||
});
|
||||
}
|
||||
|
||||
async run(input) {
|
||||
const toEval = input.join(' ');
|
||||
try {
|
||||
const res = await eval(toEval);
|
||||
console.log(res);
|
||||
} catch (error) {
|
||||
this.client.log.error(error);
|
||||
}
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user