 DogeTipGroupID = "103582791435182182"
 
 pendingInvites = []
-pendingPayments = []
 
 # Connect to the database
 await MongoClient.connect "mongodb://192.168.1.115:27017/dogebot", defer(err, db)

				catch e
					return bot.sendMessage chatterID, "Moolah returned invalid JSON"
				bot.sendMessage chatterID, "Visit #{body.url} or send #{body.amount} #{body.currency} to #{body.address}"
				# TEMPORARY; USE A IPN CALLBACK
				bot.sendMessage chatterID, "Send '+finishadd' to finish the adding process"
				pendingPayments.push {
					"steamID": chatterID
					"amount": amount
					"tx": body.tx
				}
		when "+finishadd"
			for payment in pendingPayments
				if payment.steamID is chatterID

				bot.sendMessage chatterID, "Reply '+add <AMOUNT> doge' to add dogecoins to your account"
				bot.sendMessage chatterID, "Tip users with '+tip <STEAM NAME> <AMOUNT> doge'"
		when "+add"
			await checkIfRegistered chatterID, defer(registered)
			if registered is undefined
				return bot.sendMessage chatterID, "The database ran into an error"
			unless registered
				return bot.sendMessage chatterID, "You must register before you can add funds. Do this by sending '+register'."

			await Users_collection.findOne {id: chatterID}, defer(err, user)
			if user
				for transaction in user.history
					if transaction.status is "pending" then return bot.sendMessage chatterID, "You already have an +add request pending"

			amount = message.split(" ")[1]
			amount = parseInt amount, 10
