Skip to content

Fast Type

Mr5ecret edited this page Jan 21, 2024 · 2 revisions
PΛΞ0NIC Development Banner

📝 Fast Type

Simple Fast Type game that counts wpm

/fasttype

Edited: Version 4.2.6.1


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();

📝 / Slash Commands

message: interaction,
isSlashGame: true,

🆕 Updates

*** v4.2.6.1
+ Added footer option to FastType
+ Added timestamp option to FastType
+ Added option to use array of sentences to FastType

Clone this wiki locally