Fix buttons

This commit is contained in:
Dragon Fire
2024-03-21 16:47:40 -04:00
parent a0bb0873db
commit 6aabebc15f
3 changed files with 25 additions and 17 deletions
+2 -2
View File
@@ -378,10 +378,10 @@ module.exports = class Util {
return new Promise(res => {
collector.once('end', () => {
if (joined.length < min) {
initialMsg.edit('Failed to start the game.', { components: [] });
initialMsg.edit({ content: 'Failed to start the game.', components: [] });
return res(false);
}
initialMsg.edit('Let the game begin!', { components: [] });
initialMsg.edit({ content: 'Let the game begin!', components: [] });
return res(joined);
});
});