gambling-bot-shared 0.1.26 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -77,4 +77,7 @@ export declare const defaultCasinoSettings: {
77
77
  maxBet: number;
78
78
  minBet: number;
79
79
  };
80
+ raffle: {
81
+ casinoCut: number;
82
+ };
80
83
  };
@@ -8,7 +8,7 @@ exports.readableGameValueNames = [
8
8
  { name: 'Win Multipliers (x)', value: 'winMultipliers' },
9
9
  { name: 'Casino House Cut (%)', value: 'casinoCut' },
10
10
  { name: 'One-In Chance (e.g. 1 in 10,000)', value: 'oneInChance' },
11
- { name: 'Symbol Weights', value: 'symbolWeights' },
11
+ { name: 'Symbol Weights', value: 'symbolWeights' }
12
12
  ];
13
13
  exports.readableGameNames = [
14
14
  { name: 'Dice', value: 'dice' },
@@ -19,18 +19,18 @@ exports.readableGameNames = [
19
19
  { name: 'Rock Paper Scissors', value: 'rps' },
20
20
  { name: 'Golden Jackpot', value: 'goldenJackpot' },
21
21
  { name: 'Blackjack', value: 'blackjack' },
22
- { name: 'Prediction', value: 'prediction' },
22
+ { name: 'Prediction', value: 'prediction' }
23
23
  ];
24
24
  exports.defaultCasinoSettings = {
25
25
  dice: {
26
26
  winMultiplier: 5,
27
27
  maxBet: 0,
28
- minBet: 0,
28
+ minBet: 0
29
29
  },
30
30
  coinflip: {
31
31
  winMultiplier: 1.9,
32
32
  maxBet: 0,
33
- minBet: 0,
33
+ minBet: 0
34
34
  },
35
35
  slots: {
36
36
  winMultipliers: {
@@ -38,17 +38,17 @@ exports.defaultCasinoSettings = {
38
38
  '🫐🫐🫐': 10,
39
39
  '🍉🍉🍉': 20,
40
40
  '🔔🔔🔔': 50,
41
- '7️⃣7️⃣7️⃣': 100,
41
+ '7️⃣7️⃣7️⃣': 100
42
42
  },
43
43
  symbolWeights: {
44
44
  '🍒': 35,
45
45
  '🫐': 25,
46
46
  '🍉': 10,
47
47
  '🔔': 4,
48
- '7️⃣': 2,
48
+ '7️⃣': 2
49
49
  },
50
50
  maxBet: 0,
51
- minBet: 0,
51
+ minBet: 0
52
52
  },
53
53
  lottery: {
54
54
  winMultipliers: {
@@ -56,10 +56,10 @@ exports.defaultCasinoSettings = {
56
56
  3: 40,
57
57
  2: 10,
58
58
  1: 1,
59
- 0: 0,
59
+ 0: 0
60
60
  },
61
61
  maxBet: 0,
62
- minBet: 0,
62
+ minBet: 0
63
63
  },
64
64
  roulette: {
65
65
  winMultipliers: {
@@ -68,28 +68,31 @@ exports.defaultCasinoSettings = {
68
68
  parity: 1.95,
69
69
  range: 1.95,
70
70
  dozen: 2.85,
71
- column: 2.85,
71
+ column: 2.85
72
72
  },
73
73
  maxBet: 0,
74
- minBet: 0,
74
+ minBet: 0
75
75
  },
76
76
  rps: {
77
77
  casinoCut: 0.025,
78
78
  maxBet: 0,
79
- minBet: 0,
79
+ minBet: 0
80
80
  },
81
81
  goldenJackpot: {
82
82
  winMultiplier: 10000,
83
83
  oneInChance: 12000,
84
84
  maxBet: 0,
85
- minBet: 0,
85
+ minBet: 0
86
86
  },
87
87
  blackjack: {
88
88
  maxBet: 0,
89
- minBet: 0,
89
+ minBet: 0
90
90
  },
91
91
  prediction: {
92
92
  maxBet: 0,
93
- minBet: 0,
93
+ minBet: 0
94
94
  },
95
+ raffle: {
96
+ casinoCut: 0.01
97
+ }
95
98
  };
@@ -153,6 +153,9 @@ export declare const GuildConfigurationSchema: Schema<TGuildConfiguration, impor
153
153
  maxBet: number;
154
154
  minBet: number;
155
155
  };
156
+ raffle: {
157
+ casinoCut: number;
158
+ };
156
159
  }, TGuildConfiguration, import("mongoose").Document<unknown, {}, TGuildConfiguration, {
157
160
  id: string;
158
161
  }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TGuildConfiguration & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gambling-bot-shared",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "MIT",