Skip to content

Commit 6209f8d

Browse files
committed
removed playspam now its skipspam
now all playback functions are handled sequentially
1 parent ebb6fd5 commit 6209f8d

4 files changed

Lines changed: 274 additions & 165 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "damonjs",
3-
"version": "2.1.3",
3+
"version": "2.1.4",
44
"preview": false,
55
"description": "A modified Shoukaku wrapper with enhanced queue support.",
66
"main": "dist/Index.js",

src/DamonJs.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class DamonJs extends EventEmitter {
4343
/** DamonJs players */
4444

4545
public readonly players: Map<string, DamonJsPlayer>;
46-
public playSpam: {
46+
public skipSpam: {
4747
rule: {
4848
maxhits: number;
4949
timeFrame: number;
@@ -81,8 +81,8 @@ export class DamonJs extends EventEmitter {
8181

8282
this.shoukaku = shoukaku;
8383

84-
this.playSpam = this.DamonJsOptions.playSpam
85-
? this.DamonJsOptions.playSpam
84+
this.skipSpam = this.DamonJsOptions.skipSpam
85+
? this.DamonJsOptions.skipSpam
8686
: {
8787
rule: { maxhits: 3, timeFrame: 30 * 1000, cooldown: 5 * 1000 },
8888
destroy: { maxhits: 4, timeFrame: 30 * 1000 },

0 commit comments

Comments
 (0)