forked from aniket091/Gamecord
-
Notifications
You must be signed in to change notification settings - Fork 0
Fast Type
Mr5ecret edited this page Jan 21, 2024
·
2 revisions
const { FastType } = require('flex-gamecord');
const Game = new FastType({
message: message,
isSlashGame: true,
timeoutTime: 60000,
embed: {
title: 'Fast Type',
color: '#5865F2',
description: 'You have {time} seconds to type the sentence below.',
footerEnabled: false,
footer: {
text: `PΛΞ0NIC Development`,
// iconURL: 'someIconURL', // If you want to add iconURL then remove the comment and add working url!
},
timestamp: false,
description: 'Your question: {question}\nMagic 8-Ball says: {answer}',
},
sentence: ['Some really cool sentence to fast type.', 'Another cool sentence.'],
winMessage: 'You won! You finished the type race in {time} seconds with wpm of {wpm}.',
loseMessage: 'You lost! You didn\'t type the correct sentence in time.',
});
Game.startGame();
message: interaction,
isSlashGame: true,
*** v4.2.6.1
+ Added footer option to FastType
+ Added timestamp option to FastType
+ Added option to use array of sentences to FastType