--[[
	Sets up event listeners and modifies emote configurations for the user
	given

	Parameters:
	player - The player to set up for
	humanoidDescription - The HumanoidDecription of the user to set up for
]]

function EmoteManager:setup(player, humanoidDescription)
	-- Send default emotes to the player
	self:updateEmotes(player, humanoidDescription)

	if not self.playerOwnedEmotes[player.UserId] then
		self:getOwnedEmotesAsync(player, function(ownedEmotes)
			-- Send paid emotes that the player owns to the player
			self.playerOwnedEmotes[player.UserId] = ownedEmotes
			self:updateEmotes(player, humanoidDescription)
			self.updatedPlayerEmotes:Fire(player.UserId)
		end)
	end
end
