Closed KainesLaw closed 3 years ago
change from
const djsGames = require('djs-games') const guessTheNumber = new djsGames.guessTheNumber() guessTheNumber.startGame(message)
to
const djsGames = require('djs-games') const GuessTheNumber = new djsGames.GuessTheNumber() GuessTheNumber.startGame(message)
because djsGames.guessTheNumber is not a constructor.
Fixed it! Its now const djsGames = require('djs-games') const guessTheNumber = new djsGames.GuessTheNumber() guessTheNumber.startGame(message)
const djsGames = require('djs-games') const guessTheNumber = new djsGames.GuessTheNumber() guessTheNumber.startGame(message)
change from
const djsGames = require('djs-games') const guessTheNumber = new djsGames.guessTheNumber() guessTheNumber.startGame(message)
to
const djsGames = require('djs-games') const GuessTheNumber = new djsGames.GuessTheNumber() GuessTheNumber.startGame(message)
because djsGames.guessTheNumber is not a constructor.