I\'m writing a simple game in javascript running off of a discord bot. I\'m having a little problem with variables not being carried over to subsequent functions. Module code: