wynham-games 1.0.0-beta.10
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.
- package/README.md +270 -0
- package/dist/games/Connect4.d.ts +37 -0
- package/dist/games/Connect4.d.ts.map +1 -0
- package/dist/games/Connect4.js +279 -0
- package/dist/games/Connect4.js.map +1 -0
- package/dist/games/Hangman.d.ts +30 -0
- package/dist/games/Hangman.d.ts.map +1 -0
- package/dist/games/Hangman.js +259 -0
- package/dist/games/Hangman.js.map +1 -0
- package/dist/games/RPS.d.ts +25 -0
- package/dist/games/RPS.d.ts.map +1 -0
- package/dist/games/RPS.js +187 -0
- package/dist/games/RPS.js.map +1 -0
- package/dist/games/Snake.d.ts +33 -0
- package/dist/games/Snake.d.ts.map +1 -0
- package/dist/games/Snake.js +222 -0
- package/dist/games/Snake.js.map +1 -0
- package/dist/games/TicTacToe.d.ts +32 -0
- package/dist/games/TicTacToe.d.ts.map +1 -0
- package/dist/games/TicTacToe.js +293 -0
- package/dist/games/TicTacToe.js.map +1 -0
- package/dist/games/index.d.ts +6 -0
- package/dist/games/index.d.ts.map +1 -0
- package/dist/games/index.js +17 -0
- package/dist/games/index.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/dist/locales/en-US.d.ts +103 -0
- package/dist/locales/en-US.d.ts.map +1 -0
- package/dist/locales/en-US.js +169 -0
- package/dist/locales/en-US.js.map +1 -0
- package/dist/locales/es.d.ts +103 -0
- package/dist/locales/es.d.ts.map +1 -0
- package/dist/locales/es.js +169 -0
- package/dist/locales/es.js.map +1 -0
- package/dist/locales/fr.d.ts +103 -0
- package/dist/locales/fr.d.ts.map +1 -0
- package/dist/locales/fr.js +169 -0
- package/dist/locales/fr.js.map +1 -0
- package/dist/locales/index.d.ts +522 -0
- package/dist/locales/index.d.ts.map +1 -0
- package/dist/locales/index.js +29 -0
- package/dist/locales/index.js.map +1 -0
- package/dist/locales/it.d.ts +103 -0
- package/dist/locales/it.d.ts.map +1 -0
- package/dist/locales/it.js +169 -0
- package/dist/locales/it.js.map +1 -0
- package/dist/structures/GameManager.d.ts +32 -0
- package/dist/structures/GameManager.d.ts.map +1 -0
- package/dist/structures/GameManager.js +183 -0
- package/dist/structures/GameManager.js.map +1 -0
- package/dist/structures/Types.d.ts +241 -0
- package/dist/structures/Types.d.ts.map +1 -0
- package/dist/structures/Types.js +51 -0
- package/dist/structures/Types.js.map +1 -0
- package/dist/structures/Utils.d.ts +49 -0
- package/dist/structures/Utils.d.ts.map +1 -0
- package/dist/structures/Utils.js +197 -0
- package/dist/structures/Utils.js.map +1 -0
- package/dist/variables/Game.d.ts +5 -0
- package/dist/variables/Game.d.ts.map +1 -0
- package/dist/variables/Game.js +84 -0
- package/dist/variables/Game.js.map +1 -0
- package/dist/variables/index.d.ts +2 -0
- package/dist/variables/index.d.ts.map +1 -0
- package/dist/variables/index.js +18 -0
- package/dist/variables/index.js.map +1 -0
- package/package.json +36 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./structures/GameManager"), exports);
|
|
18
|
+
__exportStar(require("./structures/Types"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,qDAAmC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
manager: {
|
|
3
|
+
alreadyPlaying: (time: number) => string;
|
|
4
|
+
selfPlay: string;
|
|
5
|
+
cantPlayWithBot: string;
|
|
6
|
+
wait: (time: number) => string;
|
|
7
|
+
};
|
|
8
|
+
invite: {
|
|
9
|
+
question: (mention: string) => string;
|
|
10
|
+
notYourChallenge: string;
|
|
11
|
+
timeout: (username: string) => string;
|
|
12
|
+
declined: (username: string) => string;
|
|
13
|
+
accept: string;
|
|
14
|
+
decline: string;
|
|
15
|
+
};
|
|
16
|
+
difficulty: {
|
|
17
|
+
title: string;
|
|
18
|
+
selectPrompt: string;
|
|
19
|
+
notYourChoice: string;
|
|
20
|
+
expired: string;
|
|
21
|
+
starting: (label: string) => string;
|
|
22
|
+
easy: string;
|
|
23
|
+
normal: string;
|
|
24
|
+
hard: string;
|
|
25
|
+
impossible: string;
|
|
26
|
+
};
|
|
27
|
+
tictactoe: {
|
|
28
|
+
title: string;
|
|
29
|
+
inviteTitle: string;
|
|
30
|
+
turn: (emoji: string, username: string) => string;
|
|
31
|
+
win: (emoji: string, username: string) => string;
|
|
32
|
+
draw: string;
|
|
33
|
+
timeout: string;
|
|
34
|
+
cellTaken: string;
|
|
35
|
+
notYourTurn: string;
|
|
36
|
+
notYourGame: string;
|
|
37
|
+
};
|
|
38
|
+
connect4: {
|
|
39
|
+
title: string;
|
|
40
|
+
inviteTitle: string;
|
|
41
|
+
column: (n: number) => string;
|
|
42
|
+
choosePlaceholder: string;
|
|
43
|
+
firstTurn: (emoji: string, username: string, timestamp: string) => string;
|
|
44
|
+
turn: (emoji: string, username: string, timestamp: string) => string;
|
|
45
|
+
turnTimeout: (emoji: string, username: string, timestamp: string) => string;
|
|
46
|
+
win: (emoji: string, username: string) => string;
|
|
47
|
+
draw: string;
|
|
48
|
+
timeout: string;
|
|
49
|
+
cancelledBothMissed: string;
|
|
50
|
+
notYourTurn: string;
|
|
51
|
+
columnFull: string;
|
|
52
|
+
notYourGame: string;
|
|
53
|
+
};
|
|
54
|
+
rps: {
|
|
55
|
+
title: string;
|
|
56
|
+
inviteTitle: string;
|
|
57
|
+
rock: string;
|
|
58
|
+
paper: string;
|
|
59
|
+
scissors: string;
|
|
60
|
+
makeChoice: string;
|
|
61
|
+
notYourGame: string;
|
|
62
|
+
alreadyChose: string;
|
|
63
|
+
chose: (emoji: string, label: string) => string;
|
|
64
|
+
waiting: (username: string) => string;
|
|
65
|
+
tie: (reveal: string) => string;
|
|
66
|
+
win: (username: string, reveal: string) => string;
|
|
67
|
+
defaultWin: (username: string) => string;
|
|
68
|
+
timeout: string;
|
|
69
|
+
};
|
|
70
|
+
hangman: {
|
|
71
|
+
title: string;
|
|
72
|
+
inviteTitle: string;
|
|
73
|
+
words: string[];
|
|
74
|
+
notYourTurn: string;
|
|
75
|
+
notYourGame: string;
|
|
76
|
+
alreadyGuessed: (letter: string) => string;
|
|
77
|
+
alreadyGuessedWord: (word: string) => string;
|
|
78
|
+
win: (username: string, word: string) => string;
|
|
79
|
+
lose: (word: string) => string;
|
|
80
|
+
turn: (username: string) => string;
|
|
81
|
+
firstTurn: (username: string) => string;
|
|
82
|
+
wrongLetters: (letters: string) => string;
|
|
83
|
+
noWrongLetters: string;
|
|
84
|
+
menuLettersAM: string;
|
|
85
|
+
menuLettersNZ: string;
|
|
86
|
+
guessButton: string;
|
|
87
|
+
modalTitle: string;
|
|
88
|
+
modalLabel: string;
|
|
89
|
+
timeout: (word: string) => string;
|
|
90
|
+
};
|
|
91
|
+
snake: {
|
|
92
|
+
title: string;
|
|
93
|
+
start: string;
|
|
94
|
+
score: (score: number) => string;
|
|
95
|
+
gameOver: (score: number) => string;
|
|
96
|
+
quit: (score: number) => string;
|
|
97
|
+
win: (score: number) => string;
|
|
98
|
+
timeout: (score: number) => string;
|
|
99
|
+
notYourGame: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
export default _default;
|
|
103
|
+
//# sourceMappingURL=en-US.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en-US.d.ts","sourceRoot":"","sources":["../../src/locales/en-US.ts"],"names":[],"mappings":";;+BAE+B,MAAM;;;qBAGhB,MAAM;;;4BAGC,MAAM;;4BAEN,MAAM;6BACL,MAAM;;;;;;;;;0BAST,MAAM;;;;;;;;;sBASV,MAAM,YAAY,MAAM;qBACzB,MAAM,YAAY,MAAM;;;;;;;;;;oBAUzB,MAAM;;2BAEC,MAAM,YAAY,MAAM,aAAa,MAAM;sBAChD,MAAM,YAAY,MAAM,aAAa,MAAM;6BACpC,MAAM,YAAY,MAAM,aAAa,MAAM;qBACnD,MAAM,YAAY,MAAM;;;;;;;;;;;;;;;;;uBAiBtB,MAAM,SAAS,MAAM;4BAChB,MAAM;sBACZ,MAAM;wBACJ,MAAM,UAAU,MAAM;+BACf,MAAM;;;;;;;;;iCA0EJ,MAAM;mCACJ,MAAM;wBACjB,MAAM,QAAQ,MAAM;qBACvB,MAAM;yBACF,MAAM;8BACD,MAAM;gCACJ,MAAM;;;;;;;wBAOd,MAAM;;;;;uBAKP,MAAM;0BACH,MAAM;sBACV,MAAM;qBACP,MAAM;yBACF,MAAM;;;;AAlK/B,wBAqKE"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
manager: {
|
|
5
|
+
alreadyPlaying: (time) => `> ❌ You are already in a game against this user. Please wait ${time}s before trying again.`,
|
|
6
|
+
selfPlay: "> `❌` You cannot play against yourself.",
|
|
7
|
+
cantPlayWithBot: "> `❌` You cannot play with a bot.",
|
|
8
|
+
wait: (time) => `Please wait ${time}s before using this command again.`,
|
|
9
|
+
},
|
|
10
|
+
invite: {
|
|
11
|
+
question: (mention) => `${mention}, do you accept the challenge?`,
|
|
12
|
+
notYourChallenge: "> `❌` This challenge is not for you.",
|
|
13
|
+
timeout: (username) => `> \`⏱️\` **${username}** did not respond to the challenge.`,
|
|
14
|
+
declined: (username) => `> \`❌\` **${username}** declined the challenge.`,
|
|
15
|
+
accept: "Accept",
|
|
16
|
+
decline: "Decline",
|
|
17
|
+
},
|
|
18
|
+
difficulty: {
|
|
19
|
+
title: "## 🤖 Choose difficulty",
|
|
20
|
+
selectPrompt: "Select the opponent difficulty.",
|
|
21
|
+
notYourChoice: "> `❌` This choice is not for you.",
|
|
22
|
+
expired: "> `⏱️` Selection expired.",
|
|
23
|
+
starting: (label) => `⏳ Starting in **${label}** mode...`,
|
|
24
|
+
easy: "Easy",
|
|
25
|
+
normal: "Normal",
|
|
26
|
+
hard: "Hard",
|
|
27
|
+
impossible: "Impossible",
|
|
28
|
+
},
|
|
29
|
+
tictactoe: {
|
|
30
|
+
title: "Tic-Tac-Toe",
|
|
31
|
+
inviteTitle: "Tic-Tac-Toe Challenge",
|
|
32
|
+
turn: (emoji, username) => `${emoji} **${username}**'s turn`,
|
|
33
|
+
win: (emoji, username) => `> \`🏆\` ${emoji} **${username}** won!`,
|
|
34
|
+
draw: "> `🤝` **Draw!**",
|
|
35
|
+
timeout: "> `⏱️` Time's up.",
|
|
36
|
+
cellTaken: "> `❌` This cell is already taken.",
|
|
37
|
+
notYourTurn: "> `❌` It's not your turn.",
|
|
38
|
+
notYourGame: "> `❌` You are not part of this game.",
|
|
39
|
+
},
|
|
40
|
+
connect4: {
|
|
41
|
+
title: "Connect Four",
|
|
42
|
+
inviteTitle: "Connect Four Challenge",
|
|
43
|
+
column: (n) => `Column ${n}`,
|
|
44
|
+
choosePlaceholder: "Choose a column…",
|
|
45
|
+
firstTurn: (emoji, username, timestamp) => `> ${emoji} **${username}**'s turn (<t:${timestamp}:R>)`,
|
|
46
|
+
turn: (emoji, username, timestamp) => `> ${emoji} **${username}**'s turn (<t:${timestamp}:R>)`,
|
|
47
|
+
turnTimeout: (emoji, username, timestamp) => `> \`⏱️\` Time's up — ${emoji} **${username}**'s turn (<t:${timestamp}:R>)`,
|
|
48
|
+
win: (emoji, username) => `> \`🏆\` ${emoji} **${username}** won!`,
|
|
49
|
+
draw: "> `🤝` **Draw!**",
|
|
50
|
+
timeout: "> `⏱️` Time's up.",
|
|
51
|
+
cancelledBothMissed: "> `⏱️` No one played — game cancelled.",
|
|
52
|
+
notYourTurn: "> `❌` It's not your turn.",
|
|
53
|
+
columnFull: "> `❌` This column is full.",
|
|
54
|
+
notYourGame: "> `❌` You are not part of this game.",
|
|
55
|
+
},
|
|
56
|
+
rps: {
|
|
57
|
+
title: "Rock Paper Scissors",
|
|
58
|
+
inviteTitle: "Rock Paper Scissors Challenge",
|
|
59
|
+
rock: "Rock",
|
|
60
|
+
paper: "Paper",
|
|
61
|
+
scissors: "Scissors",
|
|
62
|
+
makeChoice: "Make your choice!",
|
|
63
|
+
notYourGame: "> `❌` You are not part of this game.",
|
|
64
|
+
alreadyChose: "> `❌` You already made your choice!",
|
|
65
|
+
chose: (emoji, label) => `> \`✅\` **You chose ${emoji} ${label}** — waiting for your opponent…`,
|
|
66
|
+
waiting: (username) => `> \`✅\` **${username}** made their choice — waiting for the other player…`,
|
|
67
|
+
tie: (reveal) => `> \`🤝\` **Tie!**\n\n${reveal}`,
|
|
68
|
+
win: (username, reveal) => `> \`🏆\` **${username}** wins!\n\n${reveal}`,
|
|
69
|
+
defaultWin: (username) => `> \`⏱️\` **${username}** wins by default — opponent did not respond.`,
|
|
70
|
+
timeout: "> \`⏱️\` Time's up — no one responded.",
|
|
71
|
+
},
|
|
72
|
+
hangman: {
|
|
73
|
+
title: "Hangman",
|
|
74
|
+
inviteTitle: "Hangman Challenge",
|
|
75
|
+
words: [
|
|
76
|
+
"HOUSE",
|
|
77
|
+
"GARDEN",
|
|
78
|
+
"CAR",
|
|
79
|
+
"MUSIC",
|
|
80
|
+
"SUN",
|
|
81
|
+
"MOUNTAIN",
|
|
82
|
+
"RIVER",
|
|
83
|
+
"BEACH",
|
|
84
|
+
"CHOCOLATE",
|
|
85
|
+
"CHEESE",
|
|
86
|
+
"BAKER",
|
|
87
|
+
"FISH",
|
|
88
|
+
"ELEPHANT",
|
|
89
|
+
"GIRAFFE",
|
|
90
|
+
"BUTTERFLY",
|
|
91
|
+
"FLOWER",
|
|
92
|
+
"FOREST",
|
|
93
|
+
"CLOUD",
|
|
94
|
+
"STAR",
|
|
95
|
+
"PLANET",
|
|
96
|
+
"DRAGON",
|
|
97
|
+
"KNIGHT",
|
|
98
|
+
"PRINCESS",
|
|
99
|
+
"CASTLE",
|
|
100
|
+
"TREASURE",
|
|
101
|
+
"ADVENTURE",
|
|
102
|
+
"COMPUTER",
|
|
103
|
+
"TELEPHONE",
|
|
104
|
+
"INTERNET",
|
|
105
|
+
"KEYBOARD",
|
|
106
|
+
"GUITAR",
|
|
107
|
+
"PIANO",
|
|
108
|
+
"CROCODILE",
|
|
109
|
+
"SNAKE",
|
|
110
|
+
"PARROT",
|
|
111
|
+
"DOLPHIN",
|
|
112
|
+
"WHALE",
|
|
113
|
+
"BAGUETTE",
|
|
114
|
+
"CROISSANT",
|
|
115
|
+
"MUSHROOM",
|
|
116
|
+
"LEMON",
|
|
117
|
+
"FOOTBALL",
|
|
118
|
+
"SWIMMING",
|
|
119
|
+
"CLIMBING",
|
|
120
|
+
"CYCLING",
|
|
121
|
+
"MYSTERY",
|
|
122
|
+
"GHOST",
|
|
123
|
+
"PIRATE",
|
|
124
|
+
"NINJA",
|
|
125
|
+
"GALAXY",
|
|
126
|
+
"COMET",
|
|
127
|
+
"VOLCANO",
|
|
128
|
+
"SHARK",
|
|
129
|
+
"PANTHER",
|
|
130
|
+
"FOX",
|
|
131
|
+
"OWL",
|
|
132
|
+
"TURTLE",
|
|
133
|
+
"UNICORN",
|
|
134
|
+
"VAMPIRE",
|
|
135
|
+
"WIZARD",
|
|
136
|
+
"DETECTIVE",
|
|
137
|
+
"ALCHEMIST",
|
|
138
|
+
"LIBRARY",
|
|
139
|
+
"CARTOGRAPHY",
|
|
140
|
+
],
|
|
141
|
+
notYourTurn: "> `❌` It's not your turn.",
|
|
142
|
+
notYourGame: "> `❌` You are not part of this game.",
|
|
143
|
+
alreadyGuessed: (letter) => `> \`❌\` You already guessed the letter **${letter}**.`,
|
|
144
|
+
alreadyGuessedWord: (word) => `> \`❌\` The word **${word}** has already been guessed.`,
|
|
145
|
+
win: (username, word) => `> \`🎉\` **Well done ${username}**! The word was **${word}**.`,
|
|
146
|
+
lose: (word) => `> \`💀\` **Game over!** The word was **${word}**.`,
|
|
147
|
+
turn: (username) => `**${username}**'s turn — Good luck!`,
|
|
148
|
+
firstTurn: (username) => `**${username}**'s turn — Guess the word!`,
|
|
149
|
+
wrongLetters: (letters) => `Wrong letters or words: **${letters}**`,
|
|
150
|
+
noWrongLetters: "*No wrong letters yet.*",
|
|
151
|
+
menuLettersAM: "Letters A → M",
|
|
152
|
+
menuLettersNZ: "Letters N → Z",
|
|
153
|
+
guessButton: "Guess the word",
|
|
154
|
+
modalTitle: "Guess the word",
|
|
155
|
+
modalLabel: "Guess the word",
|
|
156
|
+
timeout: (word) => `> \`⏱️\` Time's up — The word was **${word}**.`,
|
|
157
|
+
},
|
|
158
|
+
snake: {
|
|
159
|
+
title: "Snake",
|
|
160
|
+
start: "> `🎮` Use the buttons to move. Eat the 🍎 and avoid the walls and your own tail!",
|
|
161
|
+
score: (score) => `> \`🍎\` Score: **${score}**`,
|
|
162
|
+
gameOver: (score) => `> \`💀\` **Game over!** Final score: **${score}**.`,
|
|
163
|
+
quit: (score) => `> \`🛑\` **Game stopped.** Final score: **${score}**.`,
|
|
164
|
+
win: (score) => `> \`🏆\` **You filled the whole board!** Final score: **${score}**.`,
|
|
165
|
+
timeout: (score) => `> \`⏱️\` Time's up — Final score: **${score}**.`,
|
|
166
|
+
notYourGame: "> `❌` This is not your game.",
|
|
167
|
+
},
|
|
168
|
+
};
|
|
169
|
+
//# sourceMappingURL=en-US.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en-US.js","sourceRoot":"","sources":["../../src/locales/en-US.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACX,OAAO,EAAE;QACL,cAAc,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,gEAAgE,IAAI,wBAAwB;QAC9H,QAAQ,EAAE,yCAAyC;QACnD,eAAe,EAAE,mCAAmC;QACpD,IAAI,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,eAAe,IAAI,oCAAoC;KAClF;IACD,MAAM,EAAE;QACJ,QAAQ,EAAE,CAAC,OAAe,EAAE,EAAE,CAAC,GAAG,OAAO,gCAAgC;QACzE,gBAAgB,EAAE,sCAAsC;QACxD,OAAO,EAAE,CAAC,QAAgB,EAAE,EAAE,CAAC,cAAc,QAAQ,sCAAsC;QAC3F,QAAQ,EAAE,CAAC,QAAgB,EAAE,EAAE,CAAC,aAAa,QAAQ,4BAA4B;QACjF,MAAM,EAAE,QAAQ;QAChB,OAAO,EAAE,SAAS;KACrB;IACD,UAAU,EAAE;QACR,KAAK,EAAE,yBAAyB;QAChC,YAAY,EAAE,iCAAiC;QAC/C,aAAa,EAAE,mCAAmC;QAClD,OAAO,EAAE,2BAA2B;QACpC,QAAQ,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,mBAAmB,KAAK,YAAY;QACjE,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,MAAM;QACZ,UAAU,EAAE,YAAY;KAC3B;IACD,SAAS,EAAE;QACP,KAAK,EAAE,aAAa;QACpB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AE,CAAC,KAAa,EAAE,EAAE,CAAC,2DAA2D,KAAK,KAAK;QAC7F,OAAO,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,uCAAuC,KAAK,KAAK;QAC7E,WAAW,EAAE,8BAA8B;KAC9C;CACJ,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
manager: {
|
|
3
|
+
alreadyPlaying: (time: number) => string;
|
|
4
|
+
selfPlay: string;
|
|
5
|
+
cantPlayWithBot: string;
|
|
6
|
+
wait: (time: number) => string;
|
|
7
|
+
};
|
|
8
|
+
invite: {
|
|
9
|
+
question: (mention: string) => string;
|
|
10
|
+
notYourChallenge: string;
|
|
11
|
+
timeout: (username: string) => string;
|
|
12
|
+
declined: (username: string) => string;
|
|
13
|
+
accept: string;
|
|
14
|
+
decline: string;
|
|
15
|
+
};
|
|
16
|
+
difficulty: {
|
|
17
|
+
title: string;
|
|
18
|
+
selectPrompt: string;
|
|
19
|
+
notYourChoice: string;
|
|
20
|
+
expired: string;
|
|
21
|
+
starting: (label: string) => string;
|
|
22
|
+
easy: string;
|
|
23
|
+
normal: string;
|
|
24
|
+
hard: string;
|
|
25
|
+
impossible: string;
|
|
26
|
+
};
|
|
27
|
+
tictactoe: {
|
|
28
|
+
title: string;
|
|
29
|
+
inviteTitle: string;
|
|
30
|
+
turn: (emoji: string, username: string) => string;
|
|
31
|
+
win: (emoji: string, username: string) => string;
|
|
32
|
+
draw: string;
|
|
33
|
+
timeout: string;
|
|
34
|
+
cellTaken: string;
|
|
35
|
+
notYourTurn: string;
|
|
36
|
+
notYourGame: string;
|
|
37
|
+
};
|
|
38
|
+
connect4: {
|
|
39
|
+
title: string;
|
|
40
|
+
inviteTitle: string;
|
|
41
|
+
column: (n: number) => string;
|
|
42
|
+
choosePlaceholder: string;
|
|
43
|
+
firstTurn: (emoji: string, username: string, timestamp: string) => string;
|
|
44
|
+
turn: (emoji: string, username: string, timestamp: string) => string;
|
|
45
|
+
turnTimeout: (emoji: string, username: string, timestamp: string) => string;
|
|
46
|
+
win: (emoji: string, username: string) => string;
|
|
47
|
+
draw: string;
|
|
48
|
+
timeout: string;
|
|
49
|
+
cancelledBothMissed: string;
|
|
50
|
+
notYourTurn: string;
|
|
51
|
+
columnFull: string;
|
|
52
|
+
notYourGame: string;
|
|
53
|
+
};
|
|
54
|
+
rps: {
|
|
55
|
+
title: string;
|
|
56
|
+
inviteTitle: string;
|
|
57
|
+
rock: string;
|
|
58
|
+
paper: string;
|
|
59
|
+
scissors: string;
|
|
60
|
+
makeChoice: string;
|
|
61
|
+
notYourGame: string;
|
|
62
|
+
alreadyChose: string;
|
|
63
|
+
chose: (emoji: string, label: string) => string;
|
|
64
|
+
waiting: (username: string) => string;
|
|
65
|
+
tie: (reveal: string) => string;
|
|
66
|
+
win: (username: string, reveal: string) => string;
|
|
67
|
+
defaultWin: (username: string) => string;
|
|
68
|
+
timeout: string;
|
|
69
|
+
};
|
|
70
|
+
hangman: {
|
|
71
|
+
title: string;
|
|
72
|
+
inviteTitle: string;
|
|
73
|
+
words: string[];
|
|
74
|
+
notYourTurn: string;
|
|
75
|
+
notYourGame: string;
|
|
76
|
+
alreadyGuessed: (letter: string) => string;
|
|
77
|
+
alreadyGuessedWord: (word: string) => string;
|
|
78
|
+
win: (username: string, word: string) => string;
|
|
79
|
+
lose: (word: string) => string;
|
|
80
|
+
turn: (username: string) => string;
|
|
81
|
+
firstTurn: (username: string) => string;
|
|
82
|
+
wrongLetters: (letters: string) => string;
|
|
83
|
+
noWrongLetters: string;
|
|
84
|
+
menuLettersAM: string;
|
|
85
|
+
menuLettersNZ: string;
|
|
86
|
+
guessButton: string;
|
|
87
|
+
modalTitle: string;
|
|
88
|
+
modalLabel: string;
|
|
89
|
+
timeout: (word: string) => string;
|
|
90
|
+
};
|
|
91
|
+
snake: {
|
|
92
|
+
title: string;
|
|
93
|
+
start: string;
|
|
94
|
+
score: (score: number) => string;
|
|
95
|
+
gameOver: (score: number) => string;
|
|
96
|
+
quit: (score: number) => string;
|
|
97
|
+
win: (score: number) => string;
|
|
98
|
+
timeout: (score: number) => string;
|
|
99
|
+
notYourGame: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
export default _default;
|
|
103
|
+
//# sourceMappingURL=es.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../src/locales/es.ts"],"names":[],"mappings":";;+BAE+B,MAAM;;;qBAGhB,MAAM;;;4BAGC,MAAM;;4BAEN,MAAM;6BACL,MAAM;;;;;;;;;0BAST,MAAM;;;;;;;;;sBASV,MAAM,YAAY,MAAM;qBACzB,MAAM,YAAY,MAAM;;;;;;;;;;oBAUzB,MAAM;;2BAEC,MAAM,YAAY,MAAM,aAAa,MAAM;sBAChD,MAAM,YAAY,MAAM,aAAa,MAAM;6BACpC,MAAM,YAAY,MAAM,aAAa,MAAM;qBACnD,MAAM,YAAY,MAAM;;;;;;;;;;;;;;;;;uBAiBtB,MAAM,SAAS,MAAM;4BAChB,MAAM;sBACZ,MAAM;wBACJ,MAAM,UAAU,MAAM;+BACf,MAAM;;;;;;;;;iCA0EJ,MAAM;mCACJ,MAAM;wBACjB,MAAM,QAAQ,MAAM;qBACvB,MAAM;yBACF,MAAM;8BACD,MAAM;gCACJ,MAAM;;;;;;;wBAOd,MAAM;;;;;uBAKP,MAAM;0BACH,MAAM;sBACV,MAAM;qBACP,MAAM;yBACF,MAAM;;;;AAlK/B,wBAqKE"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
manager: {
|
|
5
|
+
alreadyPlaying: (time) => `> ❌ Ya estás en una partida contra este usuario. Espera ${time}s antes de intentarlo de nuevo.`,
|
|
6
|
+
selfPlay: "> `❌` No puedes jugar contra ti mismo.",
|
|
7
|
+
cantPlayWithBot: "> `❌` No puedes jugar con un bot.",
|
|
8
|
+
wait: (time) => `Por favor, espera ${time}s antes de volver a utilizar este comando.`,
|
|
9
|
+
},
|
|
10
|
+
invite: {
|
|
11
|
+
question: (mention) => `${mention}, ¿aceptas el desafío?`,
|
|
12
|
+
notYourChallenge: "> `❌` Este desafío no es para ti.",
|
|
13
|
+
timeout: (username) => `> \`⏱️\` **${username}** no respondió al desafío.`,
|
|
14
|
+
declined: (username) => `> \`❌\` **${username}** rechazó el desafío.`,
|
|
15
|
+
accept: "Aceptar",
|
|
16
|
+
decline: "Rechazar",
|
|
17
|
+
},
|
|
18
|
+
difficulty: {
|
|
19
|
+
title: "## 🤖 Elegir dificultad",
|
|
20
|
+
selectPrompt: "Selecciona la dificultad del adversario.",
|
|
21
|
+
notYourChoice: "> `❌` Esta elección no es para ti.",
|
|
22
|
+
expired: "> `⏱️` Selección expirada.",
|
|
23
|
+
starting: (label) => `⏳ Iniciando en modo **${label}**...`,
|
|
24
|
+
easy: "Fácil",
|
|
25
|
+
normal: "Normal",
|
|
26
|
+
hard: "Difícil",
|
|
27
|
+
impossible: "Imposible",
|
|
28
|
+
},
|
|
29
|
+
tictactoe: {
|
|
30
|
+
title: "Tres en Raya",
|
|
31
|
+
inviteTitle: "Desafío Tres en Raya",
|
|
32
|
+
turn: (emoji, username) => `${emoji} Turno de **${username}**`,
|
|
33
|
+
win: (emoji, username) => `> \`🏆\` ${emoji} **${username}** ganó!`,
|
|
34
|
+
draw: "> `🤝` **¡Empate!**",
|
|
35
|
+
timeout: "> `⏱️` Tiempo agotado.",
|
|
36
|
+
cellTaken: "> `❌` Esta casilla ya está ocupada.",
|
|
37
|
+
notYourTurn: "> `❌` No es tu turno.",
|
|
38
|
+
notYourGame: "> `❌` No formas parte de esta partida.",
|
|
39
|
+
},
|
|
40
|
+
connect4: {
|
|
41
|
+
title: "Conecta Cuatro",
|
|
42
|
+
inviteTitle: "Desafío Conecta Cuatro",
|
|
43
|
+
column: (n) => `Columna ${n}`,
|
|
44
|
+
choosePlaceholder: "Elige una columna…",
|
|
45
|
+
firstTurn: (emoji, username, timestamp) => `> ${emoji} Turno de **${username}** (<t:${timestamp}:R>)`,
|
|
46
|
+
turn: (emoji, username, timestamp) => `> ${emoji} Turno de **${username}** (<t:${timestamp}:R>)`,
|
|
47
|
+
turnTimeout: (emoji, username, timestamp) => `> \`⏱️\` Tiempo agotado — ${emoji} Turno de **${username}** (<t:${timestamp}:R>)`,
|
|
48
|
+
win: (emoji, username) => `> \`🏆\` ${emoji} **${username}** ganó!`,
|
|
49
|
+
draw: "> `🤝` **¡Empate!**",
|
|
50
|
+
timeout: "> `⏱️` Tiempo agotado.",
|
|
51
|
+
cancelledBothMissed: "> `⏱️` Nadie jugó — partida cancelada.",
|
|
52
|
+
notYourTurn: "> `❌` No es tu turno.",
|
|
53
|
+
columnFull: "> `❌` Esta columna está llena.",
|
|
54
|
+
notYourGame: "> `❌` No formas parte de esta partida.",
|
|
55
|
+
},
|
|
56
|
+
rps: {
|
|
57
|
+
title: "Piedra Papel Tijera",
|
|
58
|
+
inviteTitle: "Desafío Piedra Papel Tijera",
|
|
59
|
+
rock: "Piedra",
|
|
60
|
+
paper: "Papel",
|
|
61
|
+
scissors: "Tijera",
|
|
62
|
+
makeChoice: "¡Haz tu elección!",
|
|
63
|
+
notYourGame: "> `❌` No formas parte de esta partida.",
|
|
64
|
+
alreadyChose: "> `❌` ¡Ya hiciste tu elección!",
|
|
65
|
+
chose: (emoji, label) => `> \`✅\` **Elegiste ${emoji} ${label}** — esperando a tu adversario…`,
|
|
66
|
+
waiting: (username) => `> \`✅\` **${username}** ha elegido — esperando al otro jugador…`,
|
|
67
|
+
tie: (reveal) => `> \`🤝\` **¡Empate!**\n\n${reveal}`,
|
|
68
|
+
win: (username, reveal) => `> \`🏆\` **${username}** gana!\n\n${reveal}`,
|
|
69
|
+
defaultWin: (username) => `> \`⏱️\` **${username}** gana por defecto — el adversario no respondió.`,
|
|
70
|
+
timeout: "> \`⏱️\` Tiempo agotado — nadie respondió.",
|
|
71
|
+
},
|
|
72
|
+
hangman: {
|
|
73
|
+
title: "Ahorcado",
|
|
74
|
+
inviteTitle: "Desafío Ahorcado",
|
|
75
|
+
words: [
|
|
76
|
+
"CASA",
|
|
77
|
+
"JARDIN",
|
|
78
|
+
"COCHE",
|
|
79
|
+
"MUSICA",
|
|
80
|
+
"SOL",
|
|
81
|
+
"MONTANA",
|
|
82
|
+
"RIO",
|
|
83
|
+
"PLAYA",
|
|
84
|
+
"CHOCOLATE",
|
|
85
|
+
"QUESO",
|
|
86
|
+
"PANADERO",
|
|
87
|
+
"PESCADO",
|
|
88
|
+
"ELEFANTE",
|
|
89
|
+
"JIRAFA",
|
|
90
|
+
"MARIPOSA",
|
|
91
|
+
"FLOR",
|
|
92
|
+
"BOSQUE",
|
|
93
|
+
"NUBE",
|
|
94
|
+
"ESTRELLA",
|
|
95
|
+
"PLANETA",
|
|
96
|
+
"DRAGON",
|
|
97
|
+
"CABALLERO",
|
|
98
|
+
"PRINCESA",
|
|
99
|
+
"CASTILLO",
|
|
100
|
+
"TESORO",
|
|
101
|
+
"AVENTURA",
|
|
102
|
+
"ORDENADOR",
|
|
103
|
+
"TELEFONO",
|
|
104
|
+
"INTERNET",
|
|
105
|
+
"TECLADO",
|
|
106
|
+
"GUITARRA",
|
|
107
|
+
"PIANO",
|
|
108
|
+
"COCODRILO",
|
|
109
|
+
"SERPIENTE",
|
|
110
|
+
"LORO",
|
|
111
|
+
"DELFIN",
|
|
112
|
+
"BALLENA",
|
|
113
|
+
"BAGUETTE",
|
|
114
|
+
"CRUASAN",
|
|
115
|
+
"CHAMPINON",
|
|
116
|
+
"LIMON",
|
|
117
|
+
"FUTBOL",
|
|
118
|
+
"NATACION",
|
|
119
|
+
"ESCALADA",
|
|
120
|
+
"CICLISMO",
|
|
121
|
+
"MISTERIO",
|
|
122
|
+
"FANTASMA",
|
|
123
|
+
"PIRATA",
|
|
124
|
+
"NINJA",
|
|
125
|
+
"GALAXIA",
|
|
126
|
+
"COMETA",
|
|
127
|
+
"VOLCAN",
|
|
128
|
+
"TIBURON",
|
|
129
|
+
"PANTERA",
|
|
130
|
+
"ZORRO",
|
|
131
|
+
"BUHO",
|
|
132
|
+
"TORTUGA",
|
|
133
|
+
"UNICORNIO",
|
|
134
|
+
"VAMPIRO",
|
|
135
|
+
"BRUJO",
|
|
136
|
+
"DETECTIVE",
|
|
137
|
+
"ALQUIMISTA",
|
|
138
|
+
"BIBLIOTECA",
|
|
139
|
+
"CARTOGRAFIA",
|
|
140
|
+
],
|
|
141
|
+
notYourTurn: "> `❌` No es tu turno.",
|
|
142
|
+
notYourGame: "> `❌` No formas parte de esta partida.",
|
|
143
|
+
alreadyGuessed: (letter) => `> \`❌\` Ya propusiste la letra **${letter}**.`,
|
|
144
|
+
alreadyGuessedWord: (word) => `> \`❌\` La palabra **${word}** ya fue propuesta.`,
|
|
145
|
+
win: (username, word) => `> \`🎉\` **¡Bravo ${username}**! La palabra era **${word}**.`,
|
|
146
|
+
lose: (word) => `> \`💀\` **¡Perdiste!** La palabra era **${word}**.`,
|
|
147
|
+
turn: (username) => `Turno de **${username}** — ¡Buena suerte!`,
|
|
148
|
+
firstTurn: (username) => `Turno de **${username}** — ¡Adivina la palabra!`,
|
|
149
|
+
wrongLetters: (letters) => `Letras o palabras incorrectas: **${letters}**`,
|
|
150
|
+
noWrongLetters: "*Sin letras incorrectas por ahora.*",
|
|
151
|
+
menuLettersAM: "Letras A → M",
|
|
152
|
+
menuLettersNZ: "Letras N → Z",
|
|
153
|
+
guessButton: "Adivinar la palabra",
|
|
154
|
+
modalTitle: "Adivinar la palabra",
|
|
155
|
+
modalLabel: "Adivinar la palabra",
|
|
156
|
+
timeout: (word) => `> \`⏱️\` Tiempo agotado — La palabra era **${word}**.`,
|
|
157
|
+
},
|
|
158
|
+
snake: {
|
|
159
|
+
title: "Snake",
|
|
160
|
+
start: "> `🎮` Usa los botones para moverte. ¡Come la 🍎 y evita los muros y tu propia cola!",
|
|
161
|
+
score: (score) => `> \`🍎\` Puntuación: **${score}**`,
|
|
162
|
+
gameOver: (score) => `> \`💀\` **¡Fin de la partida!** Puntuación final: **${score}**.`,
|
|
163
|
+
quit: (score) => `> \`🛑\` **Partida detenida.** Puntuación final: **${score}**.`,
|
|
164
|
+
win: (score) => `> \`🏆\` **¡Has llenado todo el tablero!** Puntuación final: **${score}**.`,
|
|
165
|
+
timeout: (score) => `> \`⏱️\` Tiempo agotado — Puntuación final: **${score}**.`,
|
|
166
|
+
notYourGame: "> `❌` Esta no es tu partida.",
|
|
167
|
+
},
|
|
168
|
+
};
|
|
169
|
+
//# sourceMappingURL=es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.js","sourceRoot":"","sources":["../../src/locales/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACX,OAAO,EAAE;QACL,cAAc,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,2DAA2D,IAAI,iCAAiC;QAClI,QAAQ,EAAE,wCAAwC;QAClD,eAAe,EAAE,mCAAmC;QACpD,IAAI,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,qBAAqB,IAAI,4CAA4C;KAChG;IACD,MAAM,EAAE;QACJ,QAAQ,EAAE,CAAC,OAAe,EAAE,EAAE,CAAC,GAAG,OAAO,wBAAwB;QACjE,gBAAgB,EAAE,mCAAmC;QACrD,OAAO,EAAE,CAAC,QAAgB,EAAE,EAAE,CAAC,cAAc,QAAQ,6BAA6B;QAClF,QAAQ,EAAE,CAAC,QAAgB,EAAE,EAAE,CAAC,aAAa,QAAQ,wBAAwB;QAC7E,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,UAAU;KACtB;IACD,UAAU,EAAE;QACR,KAAK,EAAE,yBAAyB;QAChC,YAAY,EAAE,0CAA0C;QACxD,aAAa,EAAE,oCAAoC;QACnD,OAAO,EAAE,4BAA4B;QACrC,QAAQ,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,yBAAyB,KAAK,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