this change allows for support of both the development and the live server.
Had to update the checkDB function to add a a prop for each of the servers (dev and prod) and then pass in the guildId to each of the db functions to pull the points object from the correct server, based on which server the message was in. they all look at this now const { points } = db.data[guildId]
this change allows for support of both the development and the live server.
Had to update the checkDB function to add a a prop for each of the servers (dev and prod) and then pass in the guildId to each of the db functions to pull the points object from the correct server, based on which server the message was in. they all look at this now
const { points } = db.data[guildId]
This should solve our issue.