Source: classes/HostStartedData.js

  1. // A message indicating the game is ready
  2. // https://kahoot.js.org/enum/HostStartedData
  3. class HostStartedData {
  4. /**
  5. * constructor
  6. *
  7. * @param {Client} client The client
  8. */
  9. constructor(client) {
  10. /**
  11. * The host of the game
  12. *
  13. * @name HostStartedData#host
  14. * @type String
  15. */
  16. this.host = "play.kahoot.it";
  17. /**
  18. * The type of action
  19. *
  20. * @name HostStartedData#type
  21. * @type String
  22. */
  23. this.type = "started";
  24. /**
  25. * The game id
  26. *
  27. * @name HostStartedData#gameid
  28. * @type String
  29. */
  30. this.gameid = client.gameid;
  31. }
  32. }
  33. module.exports = HostStartedData;