Compare commits
No commits in common. "60065159e5579c9e120f45f1f418deaee9f49d76" and "8bc970eac8d96bd3a206ad5f53bb844f21c888f6" have entirely different histories.
60065159e5
...
8bc970eac8
2 changed files with 2 additions and 3 deletions
|
@ -40,8 +40,8 @@ class userBlacklistCommand extends Command {
|
|||
}
|
||||
|
||||
async exec(message, args) {
|
||||
const blacklist = await Blacklists.findOne({where: {type:args.command, uid:args.userID}});
|
||||
console.log(blacklist);
|
||||
const blacklist = await Blacklists.findOne({where: {type:args.command, uid:message.author.id}});
|
||||
|
||||
if (!blacklist) {
|
||||
const body = {type:args.command, uid: args.userID, reason: args.reason};
|
||||
Blacklists.create(body);
|
||||
|
|
|
@ -53,7 +53,6 @@ class vid2gifCommand extends Command {
|
|||
|
||||
if (args.scale) ffmpegCommand.videoFilters('scale=iw/2:ih/2');
|
||||
ffmpegCommand.fps(args.fps ? args.fps : 15);
|
||||
ffmpegCommand.videoFilters('fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse');
|
||||
ffmpegCommand.output(`${os.tmpdir()}/${message.id}v2g.gif`);
|
||||
ffmpegCommand.run();
|
||||
ffmpegCommand.on('error', (err, stdout, stderr) => {
|
||||
|
|
Loading…
Reference in a new issue