Added alias for soos, check if loaded commands end in .js, updated packages
This commit is contained in:
parent
c80acc89bc
commit
92926e04a2
3 changed files with 1922 additions and 1447 deletions
|
@ -9,7 +9,7 @@ class SooSCommand extends ImageCommand {
|
||||||
}
|
}
|
||||||
|
|
||||||
static description = "\"Loops\" an image sequence by reversing it when it's finished";
|
static description = "\"Loops\" an image sequence by reversing it when it's finished";
|
||||||
static aliases = ["bounce"];
|
static aliases = ["bounce", "boomerang"];
|
||||||
|
|
||||||
static requiresGIF = true;
|
static requiresGIF = true;
|
||||||
static noImage = "You need to provide an image to loop!";
|
static noImage = "You need to provide an image to loop!";
|
||||||
|
|
3363
package-lock.json
generated
3363
package-lock.json
generated
File diff suppressed because it is too large
Load diff
2
shard.js
2
shard.js
|
@ -125,7 +125,7 @@ class Shard extends BaseClusterWorker {
|
||||||
for (const dirent of dirents) {
|
for (const dirent of dirents) {
|
||||||
if (dirent.isDirectory()) {
|
if (dirent.isDirectory()) {
|
||||||
yield* this.getFiles(dir + dirent.name);
|
yield* this.getFiles(dir + dirent.name);
|
||||||
} else {
|
} else if (dirent.name.endsWith(".js")) {
|
||||||
yield dir + (dir.charAt(dir.length - 1) !== "/" ? "/" : "") + dirent.name;
|
yield dir + (dir.charAt(dir.length - 1) !== "/" ? "/" : "") + dirent.name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue